Merge branch 'fix-restore-errormsg'

This commit is contained in:
Michael Stapelberg 2015-03-07 15:57:13 +01:00
commit 5fb99ad9f7
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ void cmd_append_layout(I3_CMD, char *path) {
LOG("JSON content = %d\n", content);
if (content == JSON_CONTENT_UNKNOWN) {
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);
return;
}