service: fix a leftover debug hack
authorFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 14:44:29 +0000 (16:44 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 5 Jun 2014 14:44:29 +0000 (16:44 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
service/watch.c

index fd44a16..0d2d9e0 100644 (file)
@@ -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);