Skip to content

Commit 021bde8

Browse files
Kristan Kenneyunknown
authored andcommitted
Fixes to v-change-web-domain-dirlist
Update error message strings
1 parent 8c496fd commit 021bde8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-change-web-domain-dirlist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ if [ "$mode" = "on" ]; then
5151
# Enable directory listing for SSL-enforced domains
5252
sed -i "s/-Index/+Index/g" $HOMEDIR/$user/conf/web/$domain/$WEB_SYSTEM.ssl.conf
5353
fi
54-
echo "INFO: Enabled directory browsing for $domain."
54+
echo "Enabled directory browsing for $domain."
5555
else
5656
# Disable directory listing
5757
sed -i "s/+Index/-Index/g" $HOMEDIR/$user/conf/web/$domain/$WEB_SYSTEM.conf
5858
if [ -e "$ssl_dir/$domain.ca" ]; then
5959
# Enable directory listing for SSL-enforced domains
6060
sed -i "s/+Index/-Index/g" $HOMEDIR/$user/conf/web/$domain/$WEB_SYSTEM.ssl.conf
6161
fi
62-
echo "INFO: Disabled directory browsing for $domain."
62+
echo "Disabled directory browsing for $domain."
6363
fi
6464

6565

0 commit comments

Comments
 (0)