]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/bcopy.c
Apply patch from Richard Mortimer to ensure that the number
[bacula/bacula] / bacula / src / stored / bcopy.c
index 62efd325aa3abc9454a28cdecd41c781e8f1c484..9a11c37a3a7b66ef76bc4ffacd78e66ec73c474e 100644 (file)
@@ -288,6 +288,7 @@ bool dir_ask_sysop_to_mount_volume(DCR *dcr)
    DEVICE *dev = dcr->dev;
    fprintf(stderr, _("Mount Volume \"%s\" on device %s and press return when ready: "),
       dcr->VolumeName, dev->print_name());
+   dev->close();
    getchar();
    return true;
 }