]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/bacula-ctl-dir.in
ebl tweak
[bacula/bacula] / bacula / scripts / bacula-ctl-dir.in
index fdebdfbe216d7a901293de90bc38a34a52db2e2a..a455f93857344b622ce3511600e703de9bc11a51 100644 (file)
@@ -208,7 +208,7 @@ case "$1" in
            OPTIONS="${OPTIONS} -g ${DIR_GROUP}"
         fi
 
-        if [ "${VALGRIND}" != '' ]; then
+        if [ "x${VALGRIND}" = "x1" ]; then
            valgrind --leak-check=full ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf
         else
            ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf