config_read: no cfg file provided is an error condition.

This commit is contained in:
R. Christian McDonald 2024-04-29 11:30:30 -04:00 committed by GitHub
parent 9abed3fc83
commit 1aa8519b39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1377,7 +1377,7 @@ config_read(struct config_file* cfg, const char* filename, const char* chroot)
int r, flags;
#endif
if(!fname)
return 1;
return 0;
/* check for wildcards */
#ifdef HAVE_GLOB