git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6532
91ce42f0-d328-0410-95d8-
f526ca767f89
/* Wrong tape mounted, release it, then fall through to get correct one */
Dmsg3(50, "Wrong tape mounted. Wanted:%s, got:%s, dev=%s release and try mount.\n",
dcr->VolumeName, dev->VolHdr.VolumeName, dev->print_name());
- release = true;
+ /* Release drive only if tape really in drive */
+ if (dev->VolHdr.VolumeName[0]) {
+ release = true;
+ }
do_mount = true;
} else {
/*
General:
04Mar08
+kes Test patch -- possible fix or improvement for bug #1053
kes Refactor FD and SD status commands to permit new API code in
SD, and to fix Win32 build.
kes Win32 build is now working.