From: Andre Date: Thu, 15 Jun 2006 06:08:38 +0000 (+0200) Subject: audiod clean_exit(): Only check status fd once X-Git-Tag: v0.2.14~62^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=bc3ab35d42d4bb321f984806c43b7b991e973716 audiod clean_exit(): Only check status fd once The close_stat_pipe() already does this check. --- diff --git a/audiod.c b/audiod.c index 90290639..8b9f181b 100644 --- a/audiod.c +++ b/audiod.c @@ -288,8 +288,7 @@ void __noreturn clean_exit(int status, const char *msg) PARA_EMERG_LOG("%s\n", msg); if (socket_name) unlink(socket_name); - if (stat_task->fd >= 0) - close_stat_pipe(); + close_stat_pipe(); exit(status); }