summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/system/procd/files/log.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/procd/files/log.init b/package/system/procd/files/log.init
index f846a52..94c6651 100644
--- a/package/system/procd/files/log.init
+++ b/package/system/procd/files/log.init
@@ -41,7 +41,7 @@ start_service_remote()
procd_open_instance
procd_set_param command "$PROG" -f -r "$log_ip" "${log_port:-514}" -p "$pid_file"
- [ "${log_proto}" = "udp" ] && procd_append_param command -u
+ [ "${log_proto}" != "udp" ] || procd_append_param command -u
procd_close_instance
PIDCOUNT="$(( ${PIDCOUNT} + 1))"