aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/procd.sh
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 /package/system/procd/files/procd.sh
parent3fcee6de2f65eb0d2c6e65a187ca333b2354cc89 (diff)
downloadupstream-67eb275f69a5861cb017d541bc83b32e587b3859.tar.gz
upstream-67eb275f69a5861cb017d541bc83b32e587b3859.tar.bz2
upstream-67eb275f69a5861cb017d541bc83b32e587b3859.zip
procd: the delete ubus call was passed the wrong field name for services
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37247
Diffstat (limited to 'package/system/procd/files/procd.sh')
-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
}