Merge branch 'fix-restore-errormsg'
This commit is contained in:
commit
5fb99ad9f7
|
@ -909,7 +909,7 @@ void cmd_append_layout(I3_CMD, char *path) {
|
||||||
LOG("JSON content = %d\n", content);
|
LOG("JSON content = %d\n", content);
|
||||||
if (content == JSON_CONTENT_UNKNOWN) {
|
if (content == JSON_CONTENT_UNKNOWN) {
|
||||||
ELOG("Could not determine the contents of \"%s\", not loading.\n", path);
|
ELOG("Could not determine the contents of \"%s\", not loading.\n", path);
|
||||||
ysuccess(false);
|
yerror("Could not determine the contents of \"%s\".", path);
|
||||||
free(path);
|
free(path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue