]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/acquire.c
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / stored / acquire.c
index 4aadbd93ec55037775f9041286c0f01aab09d9be..59b335ea360d8cf457c7d1d926a7b06c7ea9f7c7 100644 (file)
@@ -155,8 +155,8 @@ default_path:
       goto get_out;
    }
 
-   dev->state &= ~ST_APPEND;
-   dev->state |= ST_READ;
+   dev->state &= ~ST_APPEND;         /* clear any previous append mode */
+   dev->state |= ST_READ;            /* set reed mode */
    attach_jcr_to_device(dev, jcr);    /* attach jcr to device */
    Jmsg(jcr, M_INFO, 0, _("Ready to read from volume \"%s\" on device %s.\n"),
       jcr->VolumeName, dev_name(dev));