X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=c4c50c0cc750d5af689358a9052e611ccf95e740;hp=aa0dbd7021a711c2192da6c4646fcb64dc7f6993;hb=b43981b3544000a3683e6a53ea1cf8412f09e4d5;hpb=30e8407d4ff60da69e6f6202267eb8c705743b5d diff --git a/restore/tape.c b/restore/tape.c index aa0dbd7..c4c50c0 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.84 2004/12/15 11:00:01 stelian Exp $"; + "$Id: tape.c,v 1.85 2005/01/14 13:01:34 stelian Exp $"; #endif /* not lint */ #include @@ -1678,8 +1678,10 @@ comparefile(char *name) } #ifdef __linux__ if (lgetflags(name, &newflags) < 0) { - warn("%s: lgetflags failed", name); - do_compare_error; + if (flags != 0) { + warn("%s: lgetflags failed", name); + do_compare_error; + } } else { if (newflags != flags) {