]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #1309 inappropriate error message during btape fill command
authorKern Sibbald <kern@sibbald.com>
Wed, 17 Jun 2009 16:39:11 +0000 (16:39 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 17 Jun 2009 16:39:11 +0000 (16:39 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8905 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/btape.c
bacula/technotes

index 6748705b55ffccf4cc1f46a6f472e5607b850e98..be0226117f173aad0072b645293fbf28d26510cd 100644 (file)
@@ -414,7 +414,6 @@ static void labelcmd()
       }
    }
    dev->rewind(dcr);
-   dev->weof(1);
    write_new_volume_label_to_dev(dcr, cmd, "Default", false,/*no relabel*/ true /* label dvd now */);
    Pmsg1(-1, _("Wrote Volume label for volume \"%s\".\n"), cmd);
 }
index b7c852392ac55858b5a24c2ea604649fc5fb46ea..e608b0c6609bc2f306b81a580b43115eff90835d 100644 (file)
@@ -3,6 +3,7 @@
 General:
 
 17Jun09
+kes  Fix bug #1309 inappropriate error message during btape fill command
 kes  Fix bug #1307 AllowHigherDuplicates=no prevents automatic job escalation
 12Jun09
 kes  Remove non-portable code referencing pthread_t fixes bug #1308.