]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix dvd rewind
authorKern Sibbald <kern@sibbald.com>
Mon, 26 Jun 2006 16:06:12 +0000 (16:06 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 26 Jun 2006 16:06:12 +0000 (16:06 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3079 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/dev.c

index bc763c0ce88306797e3e668bf2bf0c9769e10b51..99be022c9117b809724326953e4bff6005ec02ad 100644 (file)
@@ -679,7 +679,7 @@ bool DEVICE::rewind(DCR *dcr)
          }
          break;
       }
-   } else if (is_file()) {      
+   } else if (is_file() || is_dvd()) {
       if (lseek_dev(this, (off_t)0, SEEK_SET) < 0) {
          berrno be;
          dev_errno = errno;