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

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

SVN-Revision: 37247
master
John Crispin 11 years ago
parent 3fcee6de2f
commit 67eb275f69
  1. 2
      package/system/procd/files/procd.sh

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

Loading…
Cancel
Save