From 86c8326a2ba2e8c0ae12c2252dae2d9e774e0fc0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 26 Jun 2006 16:06:12 +0000 Subject: [PATCH] Fix dvd rewind git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3079 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5