Skip to content

Commit 9a714c9

Browse files
author
Kristan Kenney
committed
Silence fail2ban jail stop message during upgrade
1 parent 0e272ac commit 9a714c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ done
9494

9595
# Remove redundant fail2ban jail
9696
if fail2ban-client status sshd > /dev/null 2>&1 ; then
97-
fail2ban-client stop sshd
97+
fail2ban-client stop sshd >/dev/null 2>&1
9898
if [ -f /etc/fail2ban/jail.d/defaults-debian.conf ]; then
9999
mkdir -p $HESTIA_BACKUP/conf/fail2ban/jail.d
100100
mv /etc/fail2ban/jail.d/defaults-debian.conf $HESTIA_BACKUP/conf/fail2ban/jail.d/

0 commit comments

Comments
 (0)