From 6f67529e9531f4fb0cca068c6637924499c0b49e Mon Sep 17 00:00:00 2001 From: GARDAIS Jeremy Date: Thu, 26 Apr 2018 14:44:43 +0200 Subject: [PATCH] Don't display message about stealth mode disabled --- install_backuppc_mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_backuppc_mac.sh b/install_backuppc_mac.sh index 800ac25..42749ee 100755 --- a/install_backuppc_mac.sh +++ b/install_backuppc_mac.sh @@ -31,7 +31,7 @@ function AllowUserToConnectToThisMachineUsingSsh() ## EnsurePingIsAllowed {{{ function EnsurePingIsAllowed() { - sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode off + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode off &> /dev/null [[ "${DEBUG}" == "0" ]] && printf '\e[1;33m%-6s\e[m\n' "DEBUG : Désactivation du mode furtif (ping)." if [ $? != 0 ]; then printf '\e[1;31m%-6s\e[m\n' "ERREUR : La désactivation du mode furtif a échoué"