summaryrefslogtreecommitdiffstats
path: root/sbin/restore
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-06-11 01:44:06 +0000
committermjacob <mjacob@FreeBSD.org>2001-06-11 01:44:06 +0000
commita1920be1e09a2fef5c10cf9a45a9dc58c531bfea (patch)
tree5a08ab970ed8daa4a98938cd1719800e6b266f59 /sbin/restore
parent96fca9e5ac5305505b17ba4fedfbb1db9e666014 (diff)
downloadFreeBSD-src-a1920be1e09a2fef5c10cf9a45a9dc58c531bfea.zip
FreeBSD-src-a1920be1e09a2fef5c10cf9a45a9dc58c531bfea.tar.gz
Add 'SKIP' as an action so that verification works for multivolume restores.
Tested with filesystem files. PR: 27218 Submitted by: mad1@tapil.com MFC after: 3 weeks
Diffstat (limited to 'sbin/restore')
-rw-r--r--sbin/restore/tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c
index 07d565c..5b8129d 100644
--- a/sbin/restore/tape.c
+++ b/sbin/restore/tape.c
@@ -439,7 +439,7 @@ gethdr:
readtape(buf);
}
}
- if (curfile.action == USING) {
+ if (curfile.action == USING || curfile.action == SKIP) {
if (volno == 1)
panic("active file into volume 1\n");
return;
OpenPOWER on IntegriCloud