Log termination errors

This commit is contained in:
Arthur Barr
2018-03-14 14:20:32 +00:00
parent b240a84ce0
commit 4fc5460ac8

View File

@@ -66,11 +66,13 @@ func doMain() error {
}
err = createDirStructure()
if err != nil {
logTermination(err)
return err
}
err = postInit(name)
if err != nil {
logTermination(err)
return err
}