opnsense-ports/sysutils/pxattr/files/patch-pxattr.cpp
Franco Fichtner 3494ee09f6 */*: sync with upstream
Taken from: FreeBSD
2017-05-14 12:46:30 +02:00

11 lines
301 B
C++

--- 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);
}