mirror of
https://github.com/swaywm/sway.git
synced 2025-01-02 10:26:42 +01:00
Revert "Return false if config could not be loaded."
This reverts commit 855368b67e
.
This commit is contained in:
parent
385cf330ae
commit
82d7a70b03
1 changed files with 1 additions and 7 deletions
|
@ -573,13 +573,7 @@ bool load_include_configs(const char *path, struct sway_config *config,
|
||||||
char **w = p.we_wordv;
|
char **w = p.we_wordv;
|
||||||
size_t i;
|
size_t i;
|
||||||
for (i = 0; i < p.we_wordc; ++i) {
|
for (i = 0; i < p.we_wordc; ++i) {
|
||||||
bool found = load_include_config(w[i], parent_dir, config, swaynag);
|
load_include_config(w[i], parent_dir, config, swaynag);
|
||||||
if (!found) {
|
|
||||||
wordfree(&p);
|
|
||||||
free(parent_path);
|
|
||||||
free(wd);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
free(parent_path);
|
free(parent_path);
|
||||||
wordfree(&p);
|
wordfree(&p);
|
||||||
|
|
Loading…
Reference in a new issue