Skip to content

Commit 5751d42

Browse files
committed
Fix small bug in firewall system state check.
1 parent 4ca321a commit 5751d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fi
262262
# Checking FIREWALL system
263263
if [ ! -z "$FIREWALL_SYSTEM" ] && [ "$FIREWALL_SYSTEM" != 'remote' ]; then
264264
state="stopped"
265-
/sbin/iptables -L hestia >/dev/null 2>&1
265+
/sbin/iptables -L fail2ban-HESTIA >/dev/null 2>&1
266266
if [ "$?" -eq 0 ]; then
267267
state="running"
268268
fi

0 commit comments

Comments
 (0)