mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-18 22:05:28 -05:00
opt: optimize file detect message
This commit is contained in:
parent
2bda8e3bf1
commit
65fcd58949
1 changed files with 4 additions and 1 deletions
|
|
@ -2683,7 +2683,10 @@ void parse_config_file(Config *config, const char *file_path) {
|
|||
}
|
||||
|
||||
if (!file) {
|
||||
perror("Error opening file");
|
||||
fprintf(stderr,
|
||||
"\033[1;31m\033[1;33m[ERROR]:\033[0m Failed to open "
|
||||
"config file: %s\n",
|
||||
file_path);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue