summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/spkmodem_recv/spkmodem-recv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c
index bf522daa..9bba548f 100644
--- a/util/spkmodem_recv/spkmodem-recv.c
+++ b/util/spkmodem_recv/spkmodem-recv.c
@@ -56,7 +56,9 @@ main(int argc, char *argv[])
while (!feof(stdin))
handle_audio();
- return errno;
+ if (errno)
+ err(errno, "Unhandled error upon exit. Exit status is errno.");
+ return 0;
}
void