fix: fail on error
This commit is contained in:
@ -40,7 +40,8 @@ func main() {
|
|||||||
|
|
||||||
if *doFiles {
|
if *doFiles {
|
||||||
if err = apply.Files(cfg, log); err != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user