Skip to content

Commit

Permalink
fix(summary): Show summary in process mode
Browse files Browse the repository at this point in the history
This fixes #274
  • Loading branch information
cvonelm committed Apr 12, 2023
1 parent b698485 commit 2462b9f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,14 @@ int main(int argc, const char** argv)
lo2s::Log::fatal() << "Aborting: " << e.what();
return e.code().value();
}
else
{
lo2s::summary().show();
return EXIT_SUCCESS;
}
}
catch (const std::exception& e)
{
lo2s::Log::fatal() << "Aborting: " << e.what();
return EXIT_FAILURE;
}

lo2s::summary().show();

return 0;
}

0 comments on commit 2462b9f

Please sign in to comment.