From 1c7a2f96c35a1911c1211778dd113f5c43f4faae Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 29 Jan 2024 14:35:17 +0100 Subject: [PATCH] fix arg --- tc_clone_nuc_nv_efi.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5