Quote params in example script

pull/7/head
Ferry Boender 8 years ago
parent 0466acc2eb
commit ff0a8fa789
  1. 2
      examples/simple/job_add_user.sh

@ -20,7 +20,7 @@ else
UPDATE=0 UPDATE=0
fi fi
htpasswd -s -b $HTPASSWD $username $password1 || exit $? htpasswd -s -b $HTPASSWD "$username" "$password1" || exit $?
if [ "$UPDATE" -eq 1 ]; then if [ "$UPDATE" -eq 1 ]; then
echo "User password updated" echo "User password updated"

Loading…
Cancel
Save