From: John Crispin Date: Thu, 10 Mar 2016 20:15:59 +0000 (+0000) Subject: procd: fix respawn related warning X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b756788cc40aa544a1389dc6a8aa661d536cd4e7;p=librecmc%2Flibrecmc.git procd: fix respawn related warning WARNING: Variable 'respawn' does not exist or is not an array/object Signed-off-by: John Crispin SVN-Revision: 48996 --- 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