X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=c4c50c0cc750d5af689358a9052e611ccf95e740;hp=aa0dbd7021a711c2192da6c4646fcb64dc7f6993;hb=18dc6e86736f5319aa7f1d85bf3dc0f696a981ec;hpb=a55ce9149e3f4a5f848a20b7593dbe8cd7b0bbd1 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) {