From: Kern Sibbald Date: Mon, 26 Jun 2006 16:06:12 +0000 (+0000) Subject: Fix dvd rewind X-Git-Tag: Release-7.0.0~7931 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dc938778e4e3cc41119c2506456414a34a9469ba;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;