X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fscripts%2Fbacula-ctl-dir.in;h=a455f93857344b622ce3511600e703de9bc11a51;hb=b9958fb15c49eb66e6d2029fcfa2232717b22d64;hp=fdebdfbe216d7a901293de90bc38a34a52db2e2a;hpb=6067011f47ec083e9c57ba05d9fe0abf3bb181d8;p=bacula%2Fbacula diff --git a/bacula/scripts/bacula-ctl-dir.in b/bacula/scripts/bacula-ctl-dir.in index fdebdfbe21..a455f93857 100644 --- a/bacula/scripts/bacula-ctl-dir.in +++ b/bacula/scripts/bacula-ctl-dir.in @@ -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