mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
global/global_init.cc global_pre_init: look for ENOENT
EINVAL for no conf file found changes to ENOENT Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
96f95193f6
commit
9a5954fc66
@ -105,7 +105,7 @@ void global_pre_init(std::vector < const char * > *alt_def_args,
|
||||
dout_emergency("global_init: error parsing config file.\n");
|
||||
_exit(1);
|
||||
}
|
||||
else if (ret == -EINVAL) {
|
||||
else if (ret == -ENOENT) {
|
||||
if (!(flags & CINIT_FLAG_NO_DEFAULT_CONFIG_FILE)) {
|
||||
if (conf_file_list.length()) {
|
||||
ostringstream oss;
|
||||
|
Loading…
Reference in New Issue
Block a user