From b756788cc40aa544a1389dc6a8aa661d536cd4e7 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Thu, 10 Mar 2016 20:15:59 +0000
Subject: [PATCH] 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
---
 package/system/procd/files/procd.sh | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab