aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 20:15:59 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 20:15:59 +0000
commitb756788cc40aa544a1389dc6a8aa661d536cd4e7 (patch)
tree70457f8da7f5f257985223f4e0569aea9eae1ede /package/system/procd/files
parent63dc46aa3a07be9259814a268e0f0e011af597a9 (diff)
downloadupstream-b756788cc40aa544a1389dc6a8aa661d536cd4e7.tar.gz
upstream-b756788cc40aa544a1389dc6a8aa661d536cd4e7.tar.bz2
upstream-b756788cc40aa544a1389dc6a8aa661d536cd4e7.zip
procd: fix respawn related warning
WARNING: Variable 'respawn' does not exist or is not an array/object Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48996
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 6519561055..1c2edc6799 100644
--- 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