From 3cd484befc6e6896a22fd619d25ceb9f2ed98646 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Wed, 29 Dec 2021 04:30:54 +0100 Subject: [PATCH] fix: Unmount new_root recursively --- infect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infect.sh b/infect.sh index 46893c6..86968e6 100755 --- a/infect.sh +++ b/infect.sh @@ -32,7 +32,7 @@ filename="alpine-minirootfs-$version-$arch.tar.gz" # clean up, just in case rm -f "$filename" -umount new_root 2>/dev/null || true +umount -R new_root 2>/dev/null || true rm -rf new_root # download alpine minirootfs