summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-12-05 22:41:48 +0100
committerGitHub <noreply@github.com>2019-12-05 22:41:48 +0100
commit6284b870755f3e224f5061df82781e3c6b08f8fb (patch)
tree256777e1c840a3675e621845cba6cc9b738eec7d
parentMerge pull request #5472 from mjstapp/fix_dplane_prov_flags (diff)
parenttools: [ [ is not valid test syntax (diff)
downloadfrr-6284b870755f3e224f5061df82781e3c6b08f8fb.tar.xz
frr-6284b870755f3e224f5061df82781e3c6b08f8fb.zip
Merge pull request #5476 from qlyoung/fix-init-script-bleh
tools: [ [ is not valid shell test syntax
-rwxr-xr-xtools/frr.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frr.in b/tools/frr.in
index 50f7ecaa9..a21b06752 100755
--- a/tools/frr.in
+++ b/tools/frr.in
@@ -561,7 +561,7 @@ case "$1" in
stop_prio 0 $dmn
fi
- if [ [ -n "$dmn" ] && [ "$dmn" != "zebra" ] ]; then
+ if [ -n "$dmn" -a "$dmn" != "zebra" ]; then
[ -n "$dmn" ] && eval "${dmn/-/_}=0"
start_watchfrr
fi