From ff0a8fa7896080577828342ee9bf5b0300c7f1b3 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Wed, 5 Jul 2017 07:49:19 +0200 Subject: [PATCH] Quote params in example script --- examples/simple/job_add_user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple/job_add_user.sh b/examples/simple/job_add_user.sh index e00ce62..92ac342 100755 --- a/examples/simple/job_add_user.sh +++ b/examples/simple/job_add_user.sh @@ -20,7 +20,7 @@ else UPDATE=0 fi -htpasswd -s -b $HTPASSWD $username $password1 || exit $? +htpasswd -s -b $HTPASSWD "$username" "$password1" || exit $? if [ "$UPDATE" -eq 1 ]; then echo "User password updated"