From 824e4410d0b95578ae9a9b0220c80d1bb7c71da1 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 15 Nov 2013 20:29:42 +0100 Subject: Fix avoid broken if-fi. --- adduser.local | 3 +-- 1 file changed, 1 insertion(+), 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 ..." -- cgit v1.2.3