Silence annoying 'non-existing shell command file' error (#794)

This commit is contained in:
Tom M 2021-03-07 10:54:31 +01:00 committed by GitHub
parent e4241469d4
commit a2b2625517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 */