From 89c88827edcf087c22be1310c444ced911e91f3a Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Thu, 23 Jun 2022 22:31:47 +0800 Subject: [PATCH] u --- debian-add-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian-add-user.sh b/debian-add-user.sh index b8a7956..b50d9ca 100755 --- a/debian-add-user.sh +++ b/debian-add-user.sh @@ -41,7 +41,7 @@ then else echo "=== Configure $NewUser home with standard scripts? for yes, <> for no" read -p ">>> " YesOrNo - if [ !! $YesOrNo && $YesOrNo = 'y' ] + if [ $YesOrNo ] && [ $YesOrNo = 'y' ] then source /faronear/fon/sysconfig/home-config.sh /faronear/fon/sysconfig/nixhome /home/$NewUser fi