We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afe5fe commit 2765420Copy full SHA for 2765420
bin/v-add-webmail
@@ -63,7 +63,7 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
63
fi
64
65
# Enable SSL for webmail if available
66
-if [ -f $HOMEDIR/$user/conf/mail/$domain/ssl/$domain.crt ] || [ $SSL = 'yes' ]; then
+if [ -f $HOMEDIR/$user/conf/mail/$domain/ssl/$domain.crt ] || [ "$SSL" = 'yes' ]; then
67
if [ ! -z "$WEB_SYSTEM" ]; then
68
add_webmail_config "$WEB_SYSTEM" "default.stpl"
69
@@ -76,7 +76,7 @@ fi
76
# Hestia #
77
#----------------------------------------------------------#
78
79
-if [ ! -z "$3" ]; then
+if [ "$3" = 'yes' ]; then
80
# Restarting web server
81
$BIN/v-restart-web $restart
82
check_result $? "Web restart failed" >/dev/null
0 commit comments