projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63dc46a
)
procd: fix respawn related warning
author
John Crispin
<john@openwrt.org>
Thu, 10 Mar 2016 20:15:59 +0000
(20:15 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 10 Mar 2016 20:15:59 +0000
(20:15 +0000)
WARNING: Variable 'respawn' does not exist or is not an array/object
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 48996
package/system/procd/files/procd.sh
patch
|
blob
|
history
diff --git
a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index 65195610557eb48f4e778a59510b15fc072f7c6f..1c2edc67994d37513d1a244bba1bc882217758c0 100644
(file)
--- a/
package/system/procd/files/procd.sh
+++ b/
package/system/procd/files/procd.sh
@@
-318,6
+318,7
@@
_procd_append_param() {
_procd_close_instance() {
local respawn_vals
+ _json_no_warning=1
if json_select respawn ; then
json_get_values respawn_vals
if [ -z "$respawn_vals" ]; then