diff --git a/src/alice/exe.cpp b/src/alice/exe.cpp index 6592c9c9545..4cdfa8da4a3 100644 --- a/src/alice/exe.cpp +++ b/src/alice/exe.cpp @@ -130,9 +130,13 @@ int EXE_action(const TEXT* database, const SINT64 switches) } } + // It takes longer to print errors, so don't call the started() method and just return + if (error) + return FINI_ERROR; + tdgbl->uSvc->started(); - return error ? FINI_ERROR : FINI_OK; + return FINI_OK; } @@ -186,9 +190,12 @@ int EXE_two_phase(const TEXT* database, const SINT64 switches) } } + if (error) + return FINI_ERROR; + tdgbl->uSvc->started(); - return (error ? FINI_ERROR : FINI_OK); + return FINI_OK; } //____________________________________________________________