mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
FS-5567 --resolve add a non-error level informational log message when no files match pattern
This commit is contained in:
parent
518b5a802e
commit
79d23ec0da
@ -1345,6 +1345,8 @@ static FILE *preprocess_glob(const char *cwd, const char *pattern, FILE *write_f
|
||||
if ( globres != 0) {
|
||||
if ( !ignore_nomatch || globres != GLOB_NOMATCH ) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error including %s\n", pattern);
|
||||
} else if ( ignore_nomatch && globres == GLOB_NOMATCH ) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Include pattern %s did not match any files.\n", pattern);
|
||||
}
|
||||
goto end;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user