From: blogic Date: Thu, 11 Jul 2013 17:00:49 +0000 (+0000) Subject: procd: the delete ubus call was passed the wrong field name for services X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=271bb7ef0ea4d4a4be311048db029fffdf2695bf procd: the delete ubus call was passed the wrong field name for services Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37247 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 }