Don't display message about stealth mode disabled
This commit is contained in:
parent
89724099bf
commit
6f67529e95
|
@ -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é"
|
||||
|
|
Loading…
Reference in New Issue