Skip to content

Commit d8d72dd

Browse files
committed
cleanup pointless output in v-add-firewall-ipset
1 parent 455cace commit d8d72dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-firewall-ipset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ chmod 660 $HESTIA/data/firewall/ipset.conf
162162
chmod 660 "${IPSET_PATH}/${IPSET_FILE}.iplist"
163163

164164
# Install ipset daily cron updater
165-
if ! grep --no-messages "v-update-firewall-ipset" $HESTIA/data/queue/daily.pipe; then
165+
if ! grep --silent --no-messages "v-update-firewall-ipset" $HESTIA/data/queue/daily.pipe; then
166166
cmd="$BIN/v-update-firewall-ipset yes"
167167
echo "$cmd" >> $HESTIA/data/queue/daily.pipe
168168
fi

0 commit comments

Comments
 (0)