aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index ee1c42df..0c23fad8 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -557,7 +557,7 @@ bool load_include_configs(const char *path, struct sway_config *config,
557 557
558 wordexp_t p; 558 wordexp_t p;
559 559
560 if (wordexp(path, &p, 0) < 0) { 560 if (wordexp(path, &p, 0) != 0) {
561 free(parent_path); 561 free(parent_path);
562 free(wd); 562 free(wd);
563 return false; 563 return false;