git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8255
91ce42f0-d328-0410-95d8-
f526ca767f89
Priority:
================
+- Why no error message if restore has no permission on the where
+ directory?
- Possibly allow manual "purge" to purge a Volume that has not
yet been written (even if FirstWritten time is zero) see ua_purge.c
is_volume_purged().
rec->state = 0;
if (block->dev->is_tape()) {
rec->state |= REC_ISTAPE;
- rec->Block = block->BlockNumber;
- rec->File = ((DEVICE *)block->dev)->file;
- } else {
- rec->Block = ((DEVICE *)block->dev)->EndBlock;
- rec->File = ((DEVICE *)block->dev)->EndFile;
- }
+ }
+ rec->Block = ((DEVICE *)block->dev)->EndBlock;
+ rec->File = ((DEVICE *)block->dev)->EndFile;
/*
* Get the header. There is always a full header,