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-a3cf2f4a3e73
master
John Crispin 2013-07-11 17:00:49 +00:00
parent 2594841690
commit d20dabe8e8
1 changed files with 1 additions and 1 deletions

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
}