commit | 1b600bfa48cf55571e342208d6baa1c832f34bb1 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Thu Jun 18 17:51:07 2009 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jun 21 21:46:34 2009 -0400 |
tree | 7b8f8ccbdb6ba5891c1aaa56ec268ce7825230cf | |
parent | 8a480350952f6f0fdbce54326b6d847e66368897 [diff] |
lsattr: exit with a non-zero status on errors lsattr doesn't return an error if you point it at a file that doesn't exist. This is slightly trickier because it can take more than one file as an arg, but ls seems to report an error if any occurred, so this does the same, it'll report the last error that was encountered. Addresses-RedHat-Bugzilla: #489841 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>