diff options
author | Jonas <dr@jones.dk> | 2013-11-15 20:29:42 +0100 |
---|---|---|
committer | Jonas <dr@jones.dk> | 2013-11-15 20:29:42 +0100 |
commit | 824e4410d0b95578ae9a9b0220c80d1bb7c71da1 (patch) | |
tree | ea258fed1590bde9c71fb582e2dc81c5e34529a1 | |
parent | c1ca74cb08db55d10080a7d4ce1e576d69915115 (diff) |
Fix avoid broken if-fi.
-rwxr-xr-x | adduser.local | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adduser.local b/adduser.local index 9f1d127..c5416b7 100755 --- a/adduser.local +++ b/adduser.local @@ -184,8 +184,7 @@ if [ -n "$profile_web" ] && [ -d /var/www ]; then install -d -o "$NEWUID" -g "$NEWGID" "$webroot" "$cgiroot" install -d -o "$NEWUID" -g "$NEWGID" -m 0750 "$dataroot" - if [ -f /etc/local/webusers.conf ]; then - . /etc/local/webusers.conf + [ -f /etc/local/webusers.conf ] && . /etc/local/webusers.conf if [ -n "$WEBUSERS_BINDMOUNT" ]; then echo >&2 "Adding subdirs below /var/www ..." |