From ce34bf86fbdc5471493a39033f7f09d9ae37da6d Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sun, 12 Aug 2018 12:11:24 -0400 Subject: Short read means signal --- random-seed.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3-70-g09d2