diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-12-05 22:41:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 22:41:48 +0100 |
commit | 6284b870755f3e224f5061df82781e3c6b08f8fb (patch) | |
tree | 256777e1c840a3675e621845cba6cc9b738eec7d | |
parent | Merge pull request #5472 from mjstapp/fix_dplane_prov_flags (diff) | |
parent | tools: [ [ is not valid test syntax (diff) | |
download | frr-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-x | tools/frr.in | 2 |
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 |