Avoid container build if exit non-zero

This commit is contained in:
Gregory Kurtzer
2022-05-25 14:46:16 -07:00
parent 98b82e87ef
commit 8717b91938

View File

@@ -29,8 +29,8 @@ func runContainedCmd(args []string) error {
c.Stderr = os.Stderr
if err := c.Run(); err != nil {
fmt.Println(err)
os.Exit(1)
fmt.Printf("Command exited non-zero, not rebuilding/updating VNFS image\n")
os.Exit(0)
}
return nil
}