aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index eef1ad19..c4a5d497 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -211,8 +211,9 @@ int main(int argc, char **argv) {
}
if (!load_config(config_path)) {
- sway_log(L_ERROR, "Error(s) loading config!");
+ sway_terminate(EXIT_FAILURE);
}
+
if (config_path) {
free(config_path);
}