mirror of
https://github.com/containers/podman.git
synced 2025-06-30 15:49:03 +08:00
podman-mac-helper: exit 1 on error
We should return a proper exit code to signal the failure. [NO NEW TESTS NEEDED] We do have any tests on macOS. Fixes #17785 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -53,6 +53,7 @@ func main() {
|
||||
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error: %s\n", err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user