summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadduser.local3
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 ..."