mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
util/spkmodem-recv: only print unhandled err on -d
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -47,9 +47,9 @@ main(int argc, char *argv[])
|
|||||||
setvbuf(stdout, NULL, _IONBF, 0);
|
setvbuf(stdout, NULL, _IONBF, 0);
|
||||||
while (!feof(stdin))
|
while (!feof(stdin))
|
||||||
handle_audio();
|
handle_audio();
|
||||||
if (errno)
|
if (errno && debug)
|
||||||
err(errno, "Unhandled error upon exit. Exit status is errno.");
|
err(errno, "Unhandled error, errno %d", errno);
|
||||||
return 0;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user