summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-12 12:11:24 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-12 12:11:24 -0400
commitce34bf86fbdc5471493a39033f7f09d9ae37da6d (patch)
tree77ac5d6cbedf41cfcaf0196acb8fe1de45d98c6f
parentaf5ef1002bb45c9afd2e0ccdcad03ff49862907d (diff)
downloadrandom-seed-ce34bf86fbdc5471493a39033f7f09d9ae37da6d.tar.xz
random-seed-ce34bf86fbdc5471493a39033f7f09d9ae37da6d.zip
Short read means signal
-rw-r--r--random-seed.c3
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;
}