X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Fmain.c;h=361c4ecd4b4e190e01e03a251011e783a2e2ed3a;hp=f53d740513c1718b9c156bde174737c15e1edc7a;hb=a55ce9149e3f4a5f848a20b7593dbe8cd7b0bbd1;hpb=dba36a3e9b1fb9e7c207ab8b5f7cb7f502867780 diff --git a/restore/main.c b/restore/main.c index f53d740..361c4ec 100644 --- a/restore/main.c +++ b/restore/main.c @@ -37,7 +37,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.46 2004/04/13 13:04:33 stelian Exp $"; + "$Id: main.c,v 1.47 2004/12/15 11:00:01 stelian Exp $"; #endif /* not lint */ #include @@ -427,9 +427,10 @@ main(int argc, char *argv[]) err(1, "cannot cd to %s", filesys); compare_ignore_not_found = dumptime > 0; initsymtable((char *)0); - extractdirs(0); + extractdirs(1); treescan(".", ROOTINO, nodeupdates); compareleaves(); + comparedirmodes(); checkrestore(); if (compare_errors) { printf("Some files were modified!\n");