Fix script-user-add

This commit is contained in:
2021-10-22 15:36:02 -04:00
parent 87b3c9b211
commit 4f84e4f319

View File

@@ -16,7 +16,7 @@ useradd_cmd=("useradd" "-m" "-U")
if id -u "$username"; then if id -u "$username"; then
ask_ok "User $username exists. Run script-user-remove?" || exit $? ask_ok "User $username exists. Run script-user-remove?" || exit $?
script-user-remove "$username" ./script-user-remove "$username" || exit $?
fi fi
ask_ok "Create user $username with password $password?" || exit $? ask_ok "Create user $username with password $password?" || exit $?