diff --git a/src/manualpicker.cpp b/src/manualpicker.cpp index 0191accb7..7393d091c 100644 --- a/src/manualpicker.cpp +++ b/src/manualpicker.cpp @@ -582,7 +582,7 @@ void manualpickerGuiWindow::cb_menubar_quit(Fl_Widget* w, void* v) void manualpickerGuiWindow::cb_menubar_quit_i() { cb_menubar_recount_i(); - exit(0); + RELION_EXIT_SUCCESS; } void manualpickerGuiWindow::cb_closing(Fl_Widget* w, void* v)