]> git.wh0rd.org - dump.git/blobdiff - restore/xattr.c
Don't attempt to extract EA in 'restore -N' mode.
[dump.git] / restore / xattr.c
index 4d24a6f281c4473226b225e539fa1be76c2d62ba..ccc01c14c21e74177ce4b4af95cdf4f227b79991 100644 (file)
@@ -29,7 +29,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: xattr.c,v 1.5 2008/06/09 13:25:40 stelian Exp $";
+       "$Id: xattr.c,v 1.6 2010/03/08 10:40:52 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -423,7 +423,10 @@ xattr_cb_set(char *name, char *value, int valuelen, int isSELinux, void *private
 {
        char *path = (char *)private;
        int err;
-       
+
+       if (Nflag)
+               return GOOD;
+
        isSELinux;
 #ifdef TRANSSELINUX                    /*GAN6May06 SELinux MLS */
        if (isSELinux)