Explorar o código

procd: fix respawn related warning

WARNING: Variable 'respawn' does not exist or is not an array/object

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 48996
John Crispin %!s(int64=10) %!d(string=hai) anos
pai
achega
b756788cc4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package/system/procd/files/procd.sh

+ 1 - 0
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