summaryrefslogtreecommitdiff
path: root/user/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/cat.c')
-rw-r--r--user/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/cat.c b/user/cat.c
index 36939d8..2435b9e 100644
--- a/user/cat.c
+++ b/user/cat.c
@@ -28,7 +28,7 @@ main(int argc, char *argv[])
if(argc <= 1){
cat(0);
- exit(1);
+ exit(0);
}
for(i = 1; i < argc; i++){