From f7fd944e0235aeac4721f29ed0f247df29cfe600 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 15 Dec 2022 21:22:54 -0500 Subject: [PATCH] mars: cleanup event log on exit --- pkg/urbit/worker/mars.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/urbit/worker/mars.c b/pkg/urbit/worker/mars.c index 9a3e59ab8a..9e38844ccb 100644 --- a/pkg/urbit/worker/mars.c +++ b/pkg/urbit/worker/mars.c @@ -174,7 +174,7 @@ u3_mars_play(u3_mars* mar_u, c3_d eve_d) fprintf(stderr, "mars: boot fail\r\n"); // XX exit code, cb // - exit(1);; + exit(1); } mar_u->sen_d = mar_u->dun_d = lif_w; @@ -231,6 +231,7 @@ u3_mars_play(u3_mars* mar_u, c3_d eve_d) // XX check loom size, suggest --loom X // XX exit code, cb // + u3_disk_exit(log_u); exit(1); } @@ -254,6 +255,7 @@ u3_mars_play(u3_mars* mar_u, c3_d eve_d) u3m_save(); // XX exit code, cb // + u3_disk_exit(log_u); exit(1); } }