core: fix passing current enum value to nm_config_data_get_value() in _init_nm_debug()

Fixes: c7d2e1f3bc ('config: drop nm_config_get_debug() and access config directly')
This commit is contained in:
Thomas Haller 2020-04-20 09:01:51 +02:00
parent fb4d8705dd
commit bbc8e09dc8

View file

@ -102,7 +102,7 @@ _init_nm_debug (NMConfig *config)
debug = nm_config_data_get_value (nm_config_get_data_orig (config),
NM_CONFIG_KEYFILE_GROUP_MAIN,
NM_CONFIG_KEYFILE_KEY_MAIN_DEBUG,
NM_MANAGER_RELOAD_FLAGS_NONE);
NM_CONFIG_GET_VALUE_NONE);
flags = nm_utils_parse_debug_string (env, keys, G_N_ELEMENTS (keys));
flags |= nm_utils_parse_debug_string (debug, keys, G_N_ELEMENTS (keys));