Config errors should not be fatal

This commit is contained in:
Drew DeVault 2015-08-16 12:03:34 -04:00
parent 7f8ebb7d0d
commit 6e8280e7fd
2 changed files with 1 additions and 7 deletions

View file

@ -223,12 +223,6 @@ static void handle_wlc_ready(void) {
handle_command(config, config->cmd_queue->items[i]);
}
free_flat_list(config->cmd_queue);
if (config->failed) {
sway_log(L_ERROR, "Programs have been execd, aborting!");
sway_abort("Unable to load config");
}
config->active = true;
}

View file

@ -19,7 +19,7 @@ int main(int argc, char **argv) {
signal(SIGCHLD, sigchld_handle);
if (!load_config()) {
sway_log(L_ERROR, "Config load failed, aborting sway post init!");
sway_log(L_ERROR, "Errors loading config!");
}
setenv("WLC_IDLE_TIME", "0", 0);