Skip to content
Snippets Groups Projects
Commit b756788c authored by John Crispin's avatar John Crispin
Browse files

procd: fix respawn related warning


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

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 48996
parent 63dc46aa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment