Skip to content

Commit

Permalink
reset /var/lib/containerd and /var/lib/docker (#5250)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Jun 27, 2024
1 parent 7c63905 commit 829de6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function reset() {
printf "${RED}Failed to remove the following files. Please remove them manually.${NC}\n"
printf "\n"
printf "${YELLOW}"
printf "%s\n" "$RESET_UNREMOVED_FILES"
printf "%s \n " "$RESET_UNREMOVED_FILES"
printf "${NC}"
printf "\n"
return
Expand Down Expand Up @@ -316,7 +316,9 @@ function reset_impl() {
pkill haproxy || true

systemctl stop containerd || true
reset_retry_rm /var/lib/containerd
systemctl stop docker || true
reset_retry_rm /var/lib/docker

# if the Rook dir existed, tell people that they might need to clear rook disks/partitions
if [ -n "$ROOK_DIR_EXISTS" ]; then
Expand Down

0 comments on commit 829de6e

Please sign in to comment.