Skip to content

Commit 2613f73

Browse files
authored
Merge pull request hestiacp#2925 from hestiacp/jaapmarcus-patch-1
When restart is not set it should reload instead restart
2 parents 3ad019b + dd78b08 commit 2613f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-purge-nginx-cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fi
6262
#----------------------------------------------------------#
6363

6464
# Restart services if requested
65-
if [ -n "$restart" ]; then
65+
if [ "$restart" != "no" ]; then
6666
$BIN/v-restart-web "$restart"
6767
check_result $? "Web restart failed" > /dev/null
6868
fi

0 commit comments

Comments
 (0)