mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Config errors should not be fatal
This commit is contained in:
parent
7f8ebb7d0d
commit
6e8280e7fd
2 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue