summaryrefslogtreecommitdiff
path: root/sysutils/pxattr/files/patch-pxattr.cpp
blob: 9f21ad662f9db89b0c15e75151260bf9ed7f161b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- pxattr.cpp.orig	2013-02-02 17:45:27 UTC
+++ pxattr.cpp
@@ -802,7 +802,7 @@ void  printxattr(const string &path, con
 
 void delxattr(const string &path, const string& name) 
 {
-    if (pxattr::del(path, name) < 0) {
+    if (!pxattr::del(path, name)) {
 	perror("pxattr::del");
 	exit(1);
     }