summaryrefslogtreecommitdiff
path: root/adduser.local
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-11-16 12:32:16 +0100
committerJonas <dr@jones.dk>2013-11-16 12:32:16 +0100
commite39f4ceee91a1e6ab43411e019055fd171a2148a (patch)
tree54e86b2bc67abedc55f24ec37021028924868016 /adduser.local
parent832fbceba6552cf5a23ac723d7ac0a76c9b8ddd0 (diff)
Avoid bashism in test.
Diffstat (limited to 'adduser.local')
-rwxr-xr-xadduser.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/adduser.local b/adduser.local
index ff6c441..319255e 100755
--- a/adduser.local
+++ b/adduser.local
@@ -38,7 +38,7 @@ add2list() { /bin/echo "$1" | /usr/sbin/add_members -w y -a y -r - "$2"; }
. /etc/adduser.conf
# Ignore non-human accounts silently
-[ "$NEWUID" -ge "$FIRST_UID" -a "$NEWUID" -le "$LAST_UID" ] || exit 0
+[ "$NEWUID" -ge "$FIRST_UID" ] && [ "$NEWUID" -le "$LAST_UID" ] || exit 0
[ ! -r /etc/local/users.conf ] || . /etc/local/users.conf