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