cat should exit normally if reading from stdin
This commit is contained in:
parent
9ead904afe
commit
4cf0b0973e
|
@ -28,7 +28,7 @@ main(int argc, char *argv[])
|
|||
|
||||
if(argc <= 1){
|
||||
cat(0);
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
for(i = 1; i < argc; i++){
|
||||
|
|
Loading…
Reference in a new issue