projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: the delete ubus call was passed the wrong field name for services
[openwrt/staging/yousong.git]
/
package
/
system
/
procd
/
files
/
procd.sh
diff --git
a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index 3f1311ca871d26ad1eaaecf1ff42d1182825ea11..b706b1e97d3d57176f489597409690aa04f0a3c6 100644
(file)
--- 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
servic
e "$service"
+ [ -n "$service" ] && json_add_string
nam
e "$service"
[ -n "$instance" ] && json_add_string instance "$instance"
_procd_ubus_call delete
}