X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Frestore.c;h=618380489adf50aebbf160cc07d0f56ac471549f;hp=f0118f26b01940dc901fee6a925b137232d05cad;hb=9d49c83f5624f5cf13b7e27fd1f058b10dad50a3;hpb=ab28ebd489d7380f23e38705f2ce4c8385575d5e diff --git a/restore/restore.c b/restore/restore.c index f0118f2..6183804 100644 --- a/restore/restore.c +++ b/restore/restore.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: restore.c,v 1.19 2001/12/24 12:31:12 stelian Exp $"; + "$Id: restore.c,v 1.20 2001/12/24 15:53:41 stelian Exp $"; #endif /* not lint */ #include @@ -867,7 +867,8 @@ createfiles(void) */ while (curfile.ino > last) { curfile.action = SKIP; - getvol((long)0); + if (!pipein) + getvol((long)0); if (curfile.ino == maxino) { next = lowerbnd(next); while (next < curfile.ino) {