Bug#520659: getfattr should indicate missing xattrs via exit value

2013-05-21 Thread Christoph Anton Mitterer
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

Bug#520659: getfattr should indicate missing xattrs via exit value

2009-03-21 Thread David Härdeman
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