aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 99cedf5f0..7a1b0f3d0 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -667,11 +667,11 @@ ls_main(int argc, char * * argv)
while (argi < argc)
i |= list_item(argv[argi++]);
newline();
- return i;
+ exit( i);
print_usage_message:
fprintf(stderr, "Usage: %s\n", ls_usage);
- return 1;
+ exit( FALSE);
}
#endif