HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/sysutils/pxattr/files/patch-pxattr.cpp
--- 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);
     }