]>
Commit | Line | Data |
---|---|---|
5ac6c43c JK |
1 | --- bacula-5.0.3/src/stored/dev.c.orig 2010-08-05 16:29:51.000000000 +0200 |
2 | +++ bacula-5.0.3/src/stored/dev.c 2010-09-21 09:53:25.000000000 +0200 | |
3 | @@ -832,7 +832,7 @@ | |
4 | } | |
5 | break; | |
6 | } | |
7 | - } else if (is_file() || is_dvd()) { | |
8 | + } else if (dcr && (is_file() || is_dvd())) { | |
9 | if (lseek(dcr, (boffset_t)0, SEEK_SET) < 0) { | |
10 | berrno be; | |
11 | dev_errno = errno; |