mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-04-03 07:15:33 -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();
|
finish_client();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
fprintf(stderr, "Warning: instrument file was not specified\n");
|
||||||
}
|
}
|
||||||
if (optind < argc) {
|
if (optind < argc) {
|
||||||
if (load_file (128, argv[optind]) < 0) {
|
if (load_file (128, argv[optind]) < 0) {
|
||||||
finish_client();
|
finish_client();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
fprintf(stderr, "Warning: drum file was not specified\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unsubscribe destination port and close client */
|
/* Unsubscribe destination port and close client */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue