ubox: fix remote logging

in r41439 a flag for enabling remote logging was added,
but the actual check was done on a different variable.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 41467
This commit is contained in:
John Crispin 2014-07-02 12:56:20 +00:00
parent 16d8827150
commit f63bb0adbd

View file

@ -71,7 +71,7 @@ start_service_remote()
echo "validation failed"
return 1
}
[ "${log_enable}" -ne 0 ] || return
[ "${log_remote}" -ne 0 ] || return
[ -z "${log_ip}" ] && return
procd_open_instance