diff options
author | John Crispin <blogic@openwrt.org> | 2016-03-10 20:15:59 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-03-10 20:15:59 +0000 |
commit | ef115ae2a271a8ab1c4d6afccbce34825adcbe2a (patch) | |
tree | 901a0808f5d848b32b2a930032955bf890ed99b6 /package/system | |
parent | fce5b6f4823d0e6a886a0ed9668698f18ce52c2d (diff) | |
download | master-187ad058-ef115ae2a271a8ab1c4d6afccbce34825adcbe2a.tar.gz master-187ad058-ef115ae2a271a8ab1c4d6afccbce34825adcbe2a.tar.bz2 master-187ad058-ef115ae2a271a8ab1c4d6afccbce34825adcbe2a.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48996 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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 |