Skip to content

Commit 873d20c

Browse files
committed
Set rtime value for iptables from a service above to not display 0.
1 parent 3bcd42d commit 873d20c

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
@@ -271,7 +271,7 @@ if [ ! -z "$FIREWALL_SYSTEM" ] && [ "$FIREWALL_SYSTEM" != 'remote' ]; then
271271
state="running"
272272
fi
273273
data="$data\nNAME='$FIREWALL_SYSTEM' SYSTEM='firewall'"
274-
data="$data STATE='$state' CPU='0' MEM='0' RTIME='0'"
274+
data="$data STATE='$state' CPU='0' MEM='0' RTIME='$rtime'"
275275
fi
276276

277277
# Checking FIREWALL Fail2ban extention

0 commit comments

Comments
 (0)