summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-15 18:02:43 +0200
committerGitHub <noreply@github.com>2022-11-15 18:02:43 +0200
commit23f40f230d1fe293eb519aafb0825444ea44f0e0 (patch)
tree36634a3239082f1b169697579caf47e8625af1eb
parent47c5955841fef46d921ff10b2d70691c2f439851 (diff)
parent9677fefbf71907d0cad2a11f6cdf762678667a25 (diff)
Merge pull request #12320 from FRRouting/mergify/bp/stable/8.4/pr-12307
tools: remove backslash from declare check regex (backport #12307)
-rwxr-xr-xtools/frrcommon.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frrcommon.sh.in b/tools/frrcommon.sh.in
index 61f1abb378..3c16c27c6d 100755
--- a/tools/frrcommon.sh.in
+++ b/tools/frrcommon.sh.in
@@ -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."