mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 21:31:18 +00:00
Silence annoying 'non-existing shell command file' error (#794)
This commit is contained in:
parent
e4241469d4
commit
a2b2625517
1 changed files with 6 additions and 0 deletions
|
@ -853,6 +853,12 @@ int main(int argc, char **argv)
|
|||
{
|
||||
config_file = fluid_get_sysconf(buf, sizeof(buf));
|
||||
}
|
||||
|
||||
/* if the automatically selected command file does not exist, do not even attempt to open it */
|
||||
if(!g_file_test(config_file, G_FILE_TEST_EXISTS))
|
||||
{
|
||||
config_file = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* Handle set commands before creating the synth */
|
||||
|
|
Loading…
Reference in a new issue