From 82d7a70b03b43e8e417aeb84803ef04f452bce13 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 7 Feb 2019 21:22:53 -0500 Subject: Revert "Return false if config could not be loaded." This reverts commit 855368b67e8b7d0b1dd035bde7f9119d37b35e5d. --- sway/config.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sway/config.c b/sway/config.c index 18df2add..ae8d11e3 100644 --- a/sway/config.c +++ b/sway/config.c @@ -573,13 +573,7 @@ bool load_include_configs(const char *path, struct sway_config *config, char **w = p.we_wordv; size_t i; for (i = 0; i < p.we_wordc; ++i) { - bool found = load_include_config(w[i], parent_dir, config, swaynag); - if (!found) { - wordfree(&p); - free(parent_path); - free(wd); - return false; - } + load_include_config(w[i], parent_dir, config, swaynag); } free(parent_path); wordfree(&p); -- cgit v1.2.3-54-g00ecf