summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2021-04-06 15:53:30 +0200
committerJonathan Bauer2021-04-06 15:53:30 +0200
commit36397792aff63785232d950db7ca290c9255980e (patch)
tree4d63a1b01ad187d5649b821d9af920b48d170c41
parentMerge branch 'master' into installer (diff)
downloadmltk-36397792aff63785232d950db7ca290c9255980e.tar.gz
mltk-36397792aff63785232d950db7ca290c9255980e.tar.xz
mltk-36397792aff63785232d950db7ca290c9255980e.zip
[inc/useradd] fix syntax ?!
-rw-r--r--core/includes/useradd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/useradd.inc b/core/includes/useradd.inc
index 399a524e..9379c15a 100644
--- a/core/includes/useradd.inc
+++ b/core/includes/useradd.inc
@@ -135,7 +135,7 @@ add_user() {
fi
[ -z "$USERID" ] && local USERID="$(generate_uid "${USER}")"
- [ -z "$USERID" } && perror "add_user: could not generate a user id for $USER"
+ [ -z "$USERID" ] && perror "add_user: could not generate a user id for $USER"
[ -n "$USERID" ] && _USERADD_OPTS+=("--uid" "$USERID")
if [ -z "$GROUP" ]; then
[ -z "$GROUPID" ] && local GROUPID=$(get_gid_for_user "${USER}")