fix: fail on error
This commit is contained in:
parent
1edbf6534b
commit
ad3ca0bdb5
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user