OPTIONS="${OPTIONS} -g ${DIR_GROUP}"
fi
- if [ "x${VALGRIND}" = "x1" ]; then
+ if [ "x${VALGRIND_DIR}" = "x1" ]; then
valgrind --leak-check=full ${BACDIRBIN}/bacula-dir $2 $3 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf
else
${BACDIRBIN}/bacula-dir $2 $3 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf