procd: the delete ubus call was passed the wrong field name for services
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37247 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
2594841690
commit
d20dabe8e8
|
@ -184,7 +184,7 @@ _procd_kill() {
|
||||||
local instance="$2"
|
local instance="$2"
|
||||||
|
|
||||||
json_init
|
json_init
|
||||||
[ -n "$service" ] && json_add_string service "$service"
|
[ -n "$service" ] && json_add_string name "$service"
|
||||||
[ -n "$instance" ] && json_add_string instance "$instance"
|
[ -n "$instance" ] && json_add_string instance "$instance"
|
||||||
_procd_ubus_call delete
|
_procd_ubus_call delete
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue