From: Guillaume Pellerin Date: Mon, 29 Jan 2024 13:35:17 +0000 (+0100) Subject: fix arg X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1c7a2f96c35a1911c1211778dd113f5c43f4faae;p=clone-me.git fix arg --- diff --git a/tc_clone_nuc_nv_efi.sh b/tc_clone_nuc_nv_efi.sh index 2b56b85..baa7d5a 100755 --- a/tc_clone_nuc_nv_efi.sh +++ b/tc_clone_nuc_nv_efi.sh @@ -28,15 +28,15 @@ done # UMOUNT DIR=$CLONE/home -if [ d $DIR ]; then +if [ -d $DIR ]; then umount $DIR fi DIR=$CLONE/var -if [ d $DIR ]; then +if [ -d $DIR ]; then umount $DIR fi DIR=$CLONE/boot/efi -if [ d $DIR ]; then +if [ -d $DIR ]; then umount $DIR fi