From 4b26f98f7db9f8424c5676bc0bce24c2d8868e3d Mon Sep 17 00:00:00 2001 From: Joshua Judson Rosen Date: Thu, 30 Mar 2017 23:26:21 -0400 Subject: main: exit with error on failure to init arena This handler got broken when exit_nicely stopped actually triggering an exit from the entire process and started just exiting the guile thread. And, actually, it never exited with an error-status before-- which it does now. --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 9867bcb..df81cd7 100644 --- a/src/main.c +++ b/src/main.c @@ -305,6 +305,7 @@ void main_prog(void *closure, gint argc, gchar *argv[]) if (map == NULL) { exit_nicely(); + exit (1); } /* ensure the robot is placed properly */ -- cgit v1.1