提交 65dcf18d authored 作者: Nathan Neulinger's avatar Nathan Neulinger

Revert "FS-5567 --resolve add a non-error level informational log message when…

Revert "FS-5567 --resolve add a non-error level informational log message when no files match pattern"

This reverts commit 79d23ec0.
上级 79d23ec0
...@@ -1345,8 +1345,6 @@ static FILE *preprocess_glob(const char *cwd, const char *pattern, FILE *write_f ...@@ -1345,8 +1345,6 @@ static FILE *preprocess_glob(const char *cwd, const char *pattern, FILE *write_f
if ( globres != 0) { if ( globres != 0) {
if ( !ignore_nomatch || globres != GLOB_NOMATCH ) { if ( !ignore_nomatch || globres != GLOB_NOMATCH ) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error including %s\n", pattern); 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; goto end;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论