mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
parent
2e10f0abbc
commit
3710cd6963
@ -388,6 +388,11 @@ static bool load_include_config(const char *path, const char *parent_dir, struct
|
|||||||
char *real_path = realpath(full_path, NULL);
|
char *real_path = realpath(full_path, NULL);
|
||||||
free(full_path);
|
free(full_path);
|
||||||
|
|
||||||
|
if (real_path == NULL) {
|
||||||
|
sway_log(L_DEBUG, "%s not found.", path);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// check if config has already been included
|
// check if config has already been included
|
||||||
int j;
|
int j;
|
||||||
for (j = 0; j < config->config_chain->length; ++j) {
|
for (j = 0; j < config->config_chain->length; ++j) {
|
||||||
|
Loading…
Reference in New Issue
Block a user