Skip to content

Commit

Permalink
test before umount
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Dec 6, 2022
1 parent 738dab0 commit 81cb9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ctau() {
fi

for f in /dev/pts /dev /proc /sys/firmware/efi/efivars /sys; do
umount ${target}$f
mountpoint -q ${target}$f && umount ${target}$f
done
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down

0 comments on commit 81cb9e3

Please sign in to comment.