diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2018-08-12 12:11:24 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2018-08-12 12:11:24 -0400 |
commit | ce34bf86fbdc5471493a39033f7f09d9ae37da6d (patch) | |
tree | 77ac5d6cbedf41cfcaf0196acb8fe1de45d98c6f | |
parent | af5ef1002bb45c9afd2e0ccdcad03ff49862907d (diff) | |
download | random-seed-ce34bf86fbdc5471493a39033f7f09d9ae37da6d.tar.xz random-seed-ce34bf86fbdc5471493a39033f7f09d9ae37da6d.zip |
Short read means signal
-rw-r--r-- | random-seed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/random-seed.c b/random-seed.c index cb6071a..0b7c5c4 100644 --- a/random-seed.c +++ b/random-seed.c @@ -179,9 +179,8 @@ static bool load(FILE *seed_file) { fputs("premature EOF on seed file\n", stderr); } else if (ferror(seed_file)) { fputs("error reading from seed file\n", stderr); - } else { - fputs("short read from seed file\n", stderr); } + // else: we got signalled, so return to main loop to quit or whatever return false; } |