Merge pull request #17786 from Luap99/mac-helper-error

podman-mac-helper: exit 1 on error
This commit is contained in:
OpenShift Merge Robot
2023-03-14 18:21:33 -04:00
committed by GitHub

View File

@ -53,6 +53,7 @@ func main() {
if err := rootCmd.Execute(); err != nil { if err := rootCmd.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "Error: %s\n", err.Error()) fmt.Fprintf(os.Stderr, "Error: %s\n", err.Error())
os.Exit(1)
} }
} }