diff --git a/secours/check-vpn-from-ovh b/secours/check-vpn-from-ovh index 8c7563c6..980f5278 100755 --- a/secours/check-vpn-from-ovh +++ b/secours/check-vpn-from-ovh @@ -4,7 +4,7 @@ MAIN_ROUTER=odlyd BACK_ROUTER=freebox vpn_is_running () { - if systemctl is-active openvpn@$1 + if systemctl is-active openvpn@$1 &> /dev/null then return 0 else return 1 fi