From: Kern Sibbald Date: Mon, 26 Jun 2006 16:06:12 +0000 (+0000) Subject: Fix dvd rewind X-Git-Tag: Release-2.0.0~815 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86c8326a2ba2e8c0ae12c2252dae2d9e774e0fc0;p=bacula%2Fbacula Fix dvd rewind git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3079 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index bc763c0ce8..99be022c91 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -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;