mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Merge branch 'master' into assign-command
This commit is contained in:
commit
66caee645c
7 changed files with 113 additions and 64 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue