2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 15:07:41 +00:00

Make SIGINT a bit cleaner for packaging

This commit is contained in:
Jack Andersen
2018-05-25 17:07:04 -10:00
parent ec58e5b35f
commit c11557bcff
8 changed files with 28 additions and 11 deletions

View File

@@ -46,11 +46,11 @@ public:
int run()
{
if (!m_dir)
return -1;
return 1;
size_t ErrorRef = logvisor::ErrorCount;
hecl::Database::Project proj((hecl::ProjectRootPath(*m_dir)));
if (logvisor::ErrorCount > ErrorRef)
return -1;
return 1;
LogModule.report(logvisor::Info, _S("initialized project at '%s/.hecl'"), m_dir->c_str());
return 0;
}