procd: the delete ubus call was passed the wrong field name for services
authorJohn Crispin <john@openwrt.org>
Thu, 11 Jul 2013 17:00:49 +0000 (17:00 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 11 Jul 2013 17:00:49 +0000 (17:00 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37247

package/system/procd/files/procd.sh

index 3f1311ca871d26ad1eaaecf1ff42d1182825ea11..b706b1e97d3d57176f489597409690aa04f0a3c6 100644 (file)
@@ -184,7 +184,7 @@ _procd_kill() {
        local instance="$2"
 
        json_init
-       [ -n "$service" ] && json_add_string service "$service"
+       [ -n "$service" ] && json_add_string name "$service"
        [ -n "$instance" ] && json_add_string instance "$instance"
        _procd_ubus_call delete
 }