summaryrefslogtreecommitdiff
path: root/getfattr
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-02-25 23:02:24 +0000
committerNathan Scott <nathans@sgi.com>2002-02-25 23:02:24 +0000
commit4dc0cadc1f4c4ea4c599daa3ca1caebbe9c531c6 (patch)
tree1fb645692a9b9c924ed10125697a5135cfcf245a /getfattr
parentff61c40536eebdfc6fa42ad272a32710a05ea544 (diff)
downloadattr-4dc0cadc1f4c4ea4c599daa3ca1caebbe9c531c6.tar.gz
Merge of xfs-cmds-2.4.18:slinx:112537a by nathans.
grr...ensure an error is returned if an error occured.
Diffstat (limited to 'getfattr')
-rw-r--r--getfattr/getfattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/getfattr/getfattr.c b/getfattr/getfattr.c
index 00dbd4c..9593080 100644
--- a/getfattr/getfattr.c
+++ b/getfattr/getfattr.c
@@ -501,6 +501,7 @@ int main(int argc, char *argv[])
opt_walk_physical * FTW_PHYS) < 0) {
fprintf(stderr, "%s: %s: %s\n", progname, argv[optind],
strerror_ea(errno));
+ had_errors++;
}
optind++;
}