Skip to content

Commit 13847a1

Browse files
committed
rebuild error document if it does not exist
1 parent d21cea1 commit 13847a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-rebuild-web-domains

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ for domain in $(shell_list) ; do
6666
ln -f -s /var/log/httpd/domains/$domain.error.log \
6767
$HOMEDIR/$user/web/$domain/logs/$domain.error.log
6868

69-
if [ -e "$WEBTPL/skel/document_errors/" ]; then
69+
if [ ! -e "$WEBTPL/skel/document_errors/" ]; then
7070
cp -r $WEBTPL/skel/document_errors/ $HOMEDIR/$user/web/$domain/
7171
fi
7272

0 commit comments

Comments
 (0)