summaryrefslogtreecommitdiff
path: root/package/system/procd
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-11 17:00:49 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-11 17:00:49 +0000
commit271bb7ef0ea4d4a4be311048db029fffdf2695bf (patch)
tree66c5276f797dd464662230ff5d5078963b7f1bbd /package/system/procd
parentb15a7678bad3012a781292b17269746bbd02f8ec (diff)
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
Diffstat (limited to 'package/system/procd')
-rw-r--r--package/system/procd/files/procd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 3f1311ca87..b706b1e97d 100644
--- a/package/system/procd/files/procd.sh
+++ b/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
}