mirror of
https://git.proxmox.com/git/pve-common
synced 2025-05-29 21:03:53 +00:00
tools: getxattr: drop debug statement
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4c0c5c905d
commit
2e14735a84
@ -1878,7 +1878,6 @@ sub getxattr($$;$) {
|
|||||||
$xattr_size = syscall(&PVE::Syscall::getxattr, $path_or_handle, $name, $buf, $size);
|
$xattr_size = syscall(&PVE::Syscall::getxattr, $path_or_handle, $name, $buf, $size);
|
||||||
}
|
}
|
||||||
if ($xattr_size < 0) {
|
if ($xattr_size < 0) {
|
||||||
warn "$xattr_size <0 - $!";
|
|
||||||
return undef;
|
return undef;
|
||||||
} elsif ($xattr_size > $size) {
|
} elsif ($xattr_size > $size) {
|
||||||
$! = POSIX::ENOBUFS;
|
$! = POSIX::ENOBUFS;
|
||||||
|
Loading…
Reference in New Issue
Block a user