From 51c6bbbe7dbb2675c2eb16ff4eba64727623c6e1 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Thu, 23 Jun 2022 22:14:00 +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 13e4b2a..ffef909 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 = 'y' ] + if [ $YesOrNo && $YesOrNo = 'y' ] then source /faronear/fon/sysconfig/home-config.sh /faronear/fon/sysconfig/nixhome /home/$NewUser fi