summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-13 22:56:11 +0000
committerEric Andersen1999-10-13 22:56:11 +0000
commit2c1030177e0a6f849ba557400e3e4867de455ce9 (patch)
tree87b7b66e7adc5ca32cd2f323bbd252599b422045 /ls.c
parentf6be944a6ae612c70ce010582d9c3cdd72f7144f (diff)
downloadbusybox-2c1030177e0a6f849ba557400e3e4867de455ce9.zip
busybox-2c1030177e0a6f849ba557400e3e4867de455ce9.tar.gz
More stuff
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ls.c b/ls.c
index 99cedf5..7a1b0f3 100644
--- a/ls.c
+++ b/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