summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-05 16:44:29 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-06-05 16:44:29 +0200
commit8d8e22733caa9b254048c6d2b2ab15dc6b1af3c0 (patch)
tree425c6670068be793ff1c90d40c966a8c23ac948b
parent09c09dc870148c99a546243f434e546aafaa6b89 (diff)
downloadunitd-8d8e22733caa9b254048c6d2b2ab15dc6b1af3c0.tar
unitd-8d8e22733caa9b254048c6d2b2ab15dc6b1af3c0.zip
service: fix a leftover debug hack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--service/watch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/watch.c b/service/watch.c
index fd44a16..0d2d9e0 100644
--- a/service/watch.c
+++ b/service/watch.c
@@ -100,7 +100,7 @@ watch_notify_cb(struct ubus_context *ctx, struct ubus_object *obj,
struct ubus_request_data *req, const char *method,
struct blob_attr *msg)
{
- if (1 || debug >= 3) {
+ if (debug >= 3) {
char *str;
str = blobmsg_format_json(msg, true);