cat should exit normally if reading from stdin

feat/start
Rui Ueyama 2020-03-11 16:05:43 +09:00
parent 9ead904afe
commit 4cf0b0973e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ main(int argc, char *argv[])
if(argc <= 1){ if(argc <= 1){
cat(0); cat(0);
exit(1); exit(0);
} }
for(i = 1; i < argc; i++){ for(i = 1; i < argc; i++){