aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index ee1c42d..0c23fad 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -557,7 +557,7 @@ bool load_include_configs(const char *path, struct sway_config *config,
wordexp_t p;
- if (wordexp(path, &p, 0) < 0) {
+ if (wordexp(path, &p, 0) != 0) {
free(parent_path);
free(wd);
return false;