fix: fail on error

This commit is contained in:
Mikaël Cluseau 2018-07-07 14:42:59 +11:00
parent 1edbf6534b
commit ad3ca0bdb5

View File

@ -40,7 +40,8 @@ func main() {
if *doFiles {
if err = apply.Files(cfg, log); err != nil {
log.Fatal("failed to apply files: ", err)
log.Taint(dlog.Fatal, "failed to apply files: ", err)
os.Exit(1)
}
}
}