mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
Added warnings when files were not specified
This commit is contained in:
parent
657e571adb
commit
131f9a23af
1 changed files with 4 additions and 0 deletions
|
|
@ -654,12 +654,16 @@ main (int argc, char **argv) {
|
|||
finish_client();
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Warning: instrument file was not specified\n");
|
||||
}
|
||||
if (optind < argc) {
|
||||
if (load_file (128, argv[optind]) < 0) {
|
||||
finish_client();
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Warning: drum file was not specified\n");
|
||||
}
|
||||
|
||||
/* Unsubscribe destination port and close client */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue