mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 14:42:11 -05:00
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
This commit is contained in:
parent
63dc46aa3a
commit
b756788cc4
@ -318,6 +318,7 @@ _procd_append_param() {
|
|||||||
|
|
||||||
_procd_close_instance() {
|
_procd_close_instance() {
|
||||||
local respawn_vals
|
local respawn_vals
|
||||||
|
_json_no_warning=1
|
||||||
if json_select respawn ; then
|
if json_select respawn ; then
|
||||||
json_get_values respawn_vals
|
json_get_values respawn_vals
|
||||||
if [ -z "$respawn_vals" ]; then
|
if [ -z "$respawn_vals" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user