]> git.parisson.com Git - clone-me.git/commitdiff
fix arg
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:35:17 +0000 (14:35 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:35:17 +0000 (14:35 +0100)
tc_clone_nuc_nv_efi.sh

index 2b56b8514747dd0a863348fdd2b95777f55f26bc..baa7d5a20c2ccef7011232cec81e4e3d54accf08 100755 (executable)
@@ -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