forwarded 520659 https://savannah.nongnu.org/bugs/?33417
reopen 520659
stop
Hi.
While getfattr now provides and exit status in case of missing
attributes, I think the issue is not really solved, as they use "1"
which they seem to use for all other errors (e.g. not xattr support at
all, too).
So
Package: attr
Version: 1:2.4.43-2
Severity: normal
(da...@basil:~)$ getfattr --name="user.foobar" test.txt
test.txt: user.foobar: No such attribute
(da...@basil:~)$ echo $?
0
If the requested xattr doesn't exist, getfattr should provide a non-zero
exit value.
--
David Härdeman
--
To UNSUBS
2 matches
Mail list logo