Skip to content

Commit

Permalink
Merge pull request #12320 from FRRouting/mergify/bp/stable/8.4/pr-12307
Browse files Browse the repository at this point in the history
tools: remove backslash from declare check regex (backport #12307)
  • Loading branch information
ton31337 committed Nov 15, 2022
2 parents 47c5955 + 9677fef commit 23f40f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/frrcommon.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ if [ -z "$FRR_PATHSPACE" ]; then
load_old_config "/etc/sysconfig/frr"
fi

if { declare -p watchfrr_options 2>/dev/null || true; } | grep -q '^declare \-a'; then
if { declare -p watchfrr_options 2>/dev/null || true; } | grep -q '^declare -a'; then
log_warning_msg "watchfrr_options contains a bash array value." \
"The configured value is intentionally ignored since it is likely wrong." \
"Please remove or fix the setting."
Expand Down

0 comments on commit 23f40f2

Please sign in to comment.