Make Crunchy to properly return a return code when running fine or failing

This commit is contained in:
Godzil
2018-05-08 21:37:34 +01:00
parent 3a95994cc2
commit 3bf5fea735
3 changed files with 15 additions and 1 deletions

View File

@@ -6,5 +6,8 @@ batch(process.argv, (err: any) =>
if (err)
{
console.error(err.stack || err);
process.exit(-1)
}
console.info("Done!")
process.exit(0)
});