diff options
author | Jonas <dr@jones.dk> | 2013-11-16 12:30:15 +0100 |
---|---|---|
committer | Jonas <dr@jones.dk> | 2013-11-16 12:30:15 +0100 |
commit | 832fbceba6552cf5a23ac723d7ac0a76c9b8ddd0 (patch) | |
tree | 975f73185c64de1b9076fa85cb6bf35602372edf /adduser.local | |
parent | 8befce43d6780e2ef614d29fa7e05fdaaab8187a (diff) |
Fix avoid reading config file twice.
Diffstat (limited to 'adduser.local')
-rwxr-xr-x | adduser.local | 4 |
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 |