]> git.puffer.fish Git - mirror/frr.git/commitdiff
tools: $valgrind --> "$valgrind" 525/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 12 May 2017 23:29:58 +0000 (23:29 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 12 May 2017 23:29:58 +0000 (23:29 +0000)
String cmp missing quotes

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
tools/frr

index 6f00700e4073d8cdf749287d4941a13d13fbf539..0bea3ee81d089a5d8b28f8b2dd5eb94327a127c5 100755 (executable)
--- a/tools/frr
+++ b/tools/frr
@@ -150,11 +150,11 @@ start()
                return;
            fi
 
-           if [ $valgrind_enable = "yes" ]; then
+           if [ "$valgrind_enable" = "yes" ]; then
               ${SSD} \
                --start \
                --pidfile=`pidfile $1` \
-               --exec $valgrind \
+               --exec "$valgrind" \
                -- --trace-children=no --leak-check=full --log-file=/var/log/frr/$1-valgrind.log $D_PATH/$1 \
                `eval echo "$""$1""_options"`
            else