]> git.wh0rd.org - dump.git/blobdiff - dump/tape.c
QFA fix (do not output directories in QFA file).
[dump.git] / dump / tape.c
index 5fa739c01302ee9d8481fb8e7b3f83fdd0d47743..125b15884074869ed1d7b4b4adcf0c58bfcf18f0 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.62 2002/01/25 15:08:59 stelian Exp $";
+       "$Id: tape.c,v 1.63 2002/02/21 09:25:31 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -1239,6 +1239,7 @@ doslave(int cmd, int slave_number, int first)
                                spclptr = &uspclptr->s_spcl;
                                if ((spclptr->c_magic == NFS_MAGIC) && 
                                    (spclptr->c_type == TS_INODE) &&
+                                   ((spclptr->c_dinode.di_mode & S_IFMT) != IFDIR) &&
                                    (spclptr->c_date == gThisDumpDate)) {
                                        /* if an error occured previously don't
                                         * try again */