mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 21:51:22 +00:00
warn if user provided shell config wasnt found
This commit is contained in:
parent
fefb91def9
commit
5c99b86234
1 changed files with 4 additions and 1 deletions
|
@ -872,7 +872,10 @@ int main(int argc, char **argv)
|
|||
|
||||
if(config_file != NULL)
|
||||
{
|
||||
fluid_source(cmd_handler, config_file);
|
||||
if(fluid_source(cmd_handler, config_file) < 0)
|
||||
{
|
||||
fprintf(stderr, "Failed to execute user provided command configuration file '%s'\n", config_file);
|
||||
}
|
||||
}
|
||||
else if(fluid_get_userconf(buf, sizeof(buf)) != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue