diff options
author | Zandr Martin <[email protected]> | 2016-06-11 09:33:24 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2016-06-11 09:33:24 -0500 |
commit | 66caee645cc276bf747ae492df02c08d978ee90d (patch) | |
tree | 034b3d95fd283d934462df8740430cc53786f105 /sway/config.c | |
parent | beaa03344eda931274b75275bfc2d622e6875956 (diff) | |
parent | cb0cc32265136522f7bfbb768f55f35718248d71 (diff) |
Merge branch 'master' into assign-command
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 321534ed..07b1f2f7 100644 --- a/sway/config.c +++ b/sway/config.c @@ -403,6 +403,11 @@ static bool load_include_config(const char *path, const char *parent_dir, struct char *real_path = realpath(full_path, NULL); free(full_path); + if (real_path == NULL) { + sway_log(L_DEBUG, "%s not found.", path); + return false; + } + // check if config has already been included int j; for (j = 0; j < config->config_chain->length; ++j) { |