summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-11-16 12:30:15 +0100
committerJonas <dr@jones.dk>2013-11-16 12:30:15 +0100
commit832fbceba6552cf5a23ac723d7ac0a76c9b8ddd0 (patch)
tree975f73185c64de1b9076fa85cb6bf35602372edf
parent8befce43d6780e2ef614d29fa7e05fdaaab8187a (diff)
Fix avoid reading config file twice.
-rwxr-xr-xadduser.local4
1 files changed, 1 insertions, 3 deletions
diff --git a/adduser.local b/adduser.local
index 9a93007..ff6c441 100755
--- a/adduser.local
+++ b/adduser.local
@@ -118,9 +118,7 @@ if [ -z "$profile_aux" ] && [ -n "$VERBOSE" ] && [ "$VERBOSE" -gt 0 ] && [ -n "$
esac
fi
-if [ -z "$profile_aux" ] && [ -f /etc/local/users.conf ]; then
- . /etc/local/users.conf
-
+if [ -z "$profile_aux" ]; then
if [ -n "$USERS_GROUPNAME" ]; then
addgroup $NEWUSERNAME $USERS_GROUPNAME
fi