diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 17:13:24 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-28 17:13:24 +0100 |
commit | ee4f65d6f00876f6bd43c7aa57bdd462d3fde4fd (patch) | |
tree | 268f20049a270328053b0d89ba2c47eb3f1997b0 /src | |
parent | support recovering from a crash (diff) | |
download | sat-ee4f65d6f00876f6bd43c7aa57bdd462d3fde4fd.tar.gz sat-ee4f65d6f00876f6bd43c7aa57bdd462d3fde4fd.tar.bz2 sat-ee4f65d6f00876f6bd43c7aa57bdd462d3fde4fd.tar.xz |
just in case
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/satd-diminished.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/satd-diminished.c b/src/satd-diminished.c index 7d18a27..2c1308c 100644 --- a/src/satd-diminished.c +++ b/src/satd-diminished.c @@ -88,6 +88,8 @@ main(int argc, char *argv[]) if (!fstat(CONN_FILENO, _attr)) { fd = CONN_FILENO; goto fork_again; + } else if (errno != EBADF) { + goto fail; } accept_again: |