summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-11 17:00:49 +0000
committerJohn Crispin <john@openwrt.org>2013-07-11 17:00:49 +0000
commit67eb275f69a5861cb017d541bc83b32e587b3859 (patch)
tree28028c8ab853669e63bec7acf71dd96410222039
parent3fcee6de2f65eb0d2c6e65a187ca333b2354cc89 (diff)
downloadmtk-20170518-67eb275f69a5861cb017d541bc83b32e587b3859.zip
mtk-20170518-67eb275f69a5861cb017d541bc83b32e587b3859.tar.gz
mtk-20170518-67eb275f69a5861cb017d541bc83b32e587b3859.tar.bz2
procd: the delete ubus call was passed the wrong field name for services
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37247
-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 3f1311c..b706b1e 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
}