diff --git a/aplay/aplay.c b/aplay/aplay.c index f207ffe..564a3d6 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -322,7 +322,7 @@ static void signal_handler(int sig) close(fd); fd = -1; } - if (handle) { + if (handle && sig != SIGABRT) { snd_pcm_close(handle); handle = NULL; }