diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-11 17:00:49 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-11 17:00:49 +0000 |
commit | d20dabe8e8e100f06ade10e6c60b11564c17ff1e (patch) | |
tree | 66c5276f797dd464662230ff5d5078963b7f1bbd /package/system/procd/files | |
parent | 2594841690dc4aee96e192dbc599947f293ef34a (diff) | |
download | upstream-d20dabe8e8e100f06ade10e6c60b11564c17ff1e.tar.gz upstream-d20dabe8e8e100f06ade10e6c60b11564c17ff1e.tar.bz2 upstream-d20dabe8e8e100f06ade10e6c60b11564c17ff1e.zip |
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/files')
-rw-r--r-- | package/system/procd/files/procd.sh | 2 |
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 } |