aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-07 21:22:53 -0500
committerGitHub <noreply@github.com>2019-02-07 21:22:53 -0500
commit82d7a70b03b43e8e417aeb84803ef04f452bce13 (patch)
tree8628735f74dd5cd446745a9a937c3fd5c40845c6 /sway
parent385cf330aebe9d9996076912e8b826efeb365627 (diff)
Revert "Return false if config could not be loaded."
This reverts commit 855368b67e8b7d0b1dd035bde7f9119d37b35e5d.
Diffstat (limited to 'sway')
-rw-r--r--sway/config.c8
1 files changed, 1 insertions, 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);