]>
Commit | Line | Data |
---|---|---|
f9a214b4 JK |
1 | diff -dur -x '*~' bacula-1.38.6.orig/src/stored/mount.c bacula-1.38.6/src/stored/mount.c |
2 | --- bacula-1.38.6.orig/src/stored/mount.c 2006-03-16 19:16:44.000000000 +0100 | |
3 | +++ bacula-1.38.6/src/stored/mount.c 2006-04-12 17:40:06.000000000 +0200 | |
4 | @@ -328,7 +328,7 @@ | |
5 | * | |
6 | * If the tape is marked as Recycle, we rewrite the label. | |
7 | */ | |
8 | - if (dev->VolHdr.LabelType == PRE_LABEL || recycle) { | |
9 | + if ((dev->VolHdr.LabelType == PRE_LABEL && !dev->is_dvd()) || recycle) { | |
10 | if (!rewrite_volume_label(dcr, recycle)) { | |
11 | mark_volume_in_error(dcr); | |
12 | goto mount_next_vol; |