X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=50d8a3e1daef9a10bd59c5527651855ca41d0a9a;hp=76dded78fbef7113e3dc2740378fcc4392e59585;hb=40df6a0e578b56977f18c2a960f3fd30c4c78e60;hpb=11856e771fadee7ddb9b5a613c91f562bf363da7 diff --git a/restore/tape.c b/restore/tape.c index 76dded7..50d8a3e 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.52 2002/01/16 09:32:14 stelian Exp $"; + "$Id: tape.c,v 1.53 2002/01/16 10:29:26 stelian Exp $"; #endif /* not lint */ #include @@ -406,7 +406,7 @@ getvol(long nextvol) again: if (pipein) exit(1); /* pipes do not get a second chance */ - if (command == 'R' || command == 'r' || curfile.action != SKIP) { + if (aflag || curfile.action != SKIP) { newvol = nextvol; wantnext = 1; } else {