diff options
Diffstat (limited to 'src/portaudio.c')
-rw-r--r-- | src/portaudio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/portaudio.c b/src/portaudio.c index e8e9839..7ff6ca3 100644 --- a/src/portaudio.c +++ b/src/portaudio.c @@ -51,7 +51,10 @@ int main(int argc, char **argv) { perror(argv[1]); return EXIT_FAILURE; } - module_func(&file, &userdata); + if (module_func(&file, &userdata)) { + eprintf("%s: failed to load\n", argv[1]); + return EXIT_FAILURE; + } } signal(SIGINT, sigint_handler); // signal(3) claims this method is deprecated, but.. |