config: mention that reload message is also printed on validation

This commit is contained in:
Rouven Czerwinski 2018-11-05 20:32:05 +01:00
parent 5fdffea99a
commit f54287eaf3

View file

@ -389,7 +389,8 @@ bool load_main_config(const char *file, bool is_active, bool validating) {
config_defaults(config); config_defaults(config);
config->validating = validating; config->validating = validating;
if (is_active) { if (is_active) {
wlr_log(WLR_DEBUG, "Performing configuration file reload"); wlr_log(WLR_DEBUG, "Performing configuration file %s",
validating ? "validation" : "reload");
config->reloading = true; config->reloading = true;
config->active = true; config->active = true;