procd: the delete ubus call was passed the wrong field name for services
[openwrt/staging/yousong.git] / 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
 }