procd: the delete ubus call was passed the wrong field name for services

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37247
This commit is contained in:
John Crispin 2013-07-11 17:00:49 +00:00
parent 3fcee6de2f
commit 67eb275f69

View 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
}