From: Thomas Lamprecht Date: Tue, 19 Oct 2021 07:24:53 +0000 (+0200) Subject: tools: getxattr: drop debug statement X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2e14735a84d87bcac79f7afa17b6dce1d83e16b1;hp=4c0c5c905dbc7ed9c62a0b29a82b1dfd687769dc;p=pve-common.git tools: getxattr: drop debug statement Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index cacfc89..2f248da 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -1878,7 +1878,6 @@ sub getxattr($$;$) { $xattr_size = syscall(&PVE::Syscall::getxattr, $path_or_handle, $name, $buf, $size); } if ($xattr_size < 0) { - warn "$xattr_size <0 - $!"; return undef; } elsif ($xattr_size > $size) { $! = POSIX::ENOBUFS;