diff options
author | John Crispin <john@openwrt.org> | 2016-03-10 20:15:59 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-03-10 20:15:59 +0000 |
commit | b756788cc40aa544a1389dc6a8aa661d536cd4e7 (patch) | |
tree | 70457f8da7f5f257985223f4e0569aea9eae1ede /package/system | |
parent | 63dc46aa3a07be9259814a268e0f0e011af597a9 (diff) | |
download | mtk-20170518-b756788cc40aa544a1389dc6a8aa661d536cd4e7.zip mtk-20170518-b756788cc40aa544a1389dc6a8aa661d536cd4e7.tar.gz mtk-20170518-b756788cc40aa544a1389dc6a8aa661d536cd4e7.tar.bz2 |
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')
-rw-r--r-- | package/system/procd/files/procd.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 6519561..1c2edc6 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 |