1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Run omr-tracker is no hosts defined but type is none

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-01-07 18:25:36 +01:00
parent 244b8f421c
commit b431e3af51

View file

@ -56,7 +56,7 @@ _launch_tracker() {
[ -z "$ifname" ] || [ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "glorytun" ] && [ "$1" != "omrvpn" ] && return [ -z "$ifname" ] || [ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "glorytun" ] && [ "$1" != "omrvpn" ] && return
[ "${ifenabled}" = "0" ] && return [ "${ifenabled}" = "0" ] && return
[ "${enabled}" = "0" ] && return [ "${enabled}" = "0" ] && return
[ -z "${hosts}" ] && return [ -z "${hosts}" ] && [ "$type" != "none" ] && return
[ -z "${interval_tries}" ] && interval_tries=1 [ -z "${interval_tries}" ] && interval_tries=1
procd_open_instance procd_open_instance