git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7749
91ce42f0-d328-0410-95d8-
f526ca767f89
echo "volume=TestVolume001" >tmp/bscan.bsr
# If the database has a password pass it to bscan
-if test "x${db_passwd}" = "x"; then
+if test "x${db_password}" = "x"; then
PASSWD=
else
- PASSWD="-P ${db_passwd}"
+ PASSWD="-P ${db_password}"
fi
if test "$debug" -eq 1 ; then
echo "volume=TestVolume002" >>tmp/bscan.bsr
# If the database has a password pass it to bscan
-if test "x${db_passwd}" = "x"; then
+if test "x${db_password}" = "x"; then
PASSWD=
else
- PASSWD="-P ${db_passwd}"
+ PASSWD="-P ${db_password}"
fi
if test "$debug" -eq 1 ; then