]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/label.c
This commit was manufactured by cvs2svn to create tag
[bacula/bacula] / bacula / src / stored / label.c
index 5e0a9b9109132917a1062f15b5af65b249c497ae..9261b6a86957d2195f6119368c864c18bd786ab1 100644 (file)
@@ -414,7 +414,7 @@ int write_volume_label_to_dev(JCR *jcr, DEVRES *device, char *VolName, char *Poo
    if (!write_block_to_dev(jcr->dcr, block)) {
       memset(&dev->VolHdr, 0, sizeof(dev->VolHdr));
       Dmsg2(30, "Bad Label write on %s. ERR=%s\n", dev_name(dev), strerror_dev(dev));
-      stat = 9;
+      stat = 0;
    }
    Dmsg0(99, " Wrote block to device\n");