diff options
author | Rui Ueyama <[email protected]> | 2020-03-11 16:05:43 +0900 |
---|---|---|
committer | Rui Ueyama <[email protected]> | 2020-03-11 16:06:55 +0900 |
commit | 4cf0b0973eb0874737260d0bc5643c891b454832 (patch) | |
tree | 2d1823ff4662e21b653e540c64466b47ebab082f | |
parent | 9ead904afef8d060c2cc5cee6bd8e8d223de8c40 (diff) | |
download | xv6-labs-4cf0b0973eb0874737260d0bc5643c891b454832.tar.gz xv6-labs-4cf0b0973eb0874737260d0bc5643c891b454832.tar.bz2 xv6-labs-4cf0b0973eb0874737260d0bc5643c891b454832.zip |
cat should exit normally if reading from stdin
-rw-r--r-- | user/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ main(int argc, char *argv[]) if(argc <= 1){ cat(0); - exit(1); + exit(0); } for(i = 1; i < argc; i++){ |