Author: blogic
Date: 2016-03-10 21:15:59 +0100 (Thu, 10 Mar 2016)
New Revision: 48996

Modified:
   trunk/package/system/procd/files/procd.sh
Log:
procd: fix respawn related warning

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

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

Modified: trunk/package/system/procd/files/procd.sh
===================================================================
--- trunk/package/system/procd/files/procd.sh   2016-03-10 19:12:15 UTC (rev 
48995)
+++ trunk/package/system/procd/files/procd.sh   2016-03-10 20:15:59 UTC (rev 
48996)
@@ -318,6 +318,7 @@
 
 _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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to