mirror of
https://github.com/containers/podman.git
synced 2026-07-12 00:05:01 -04:00
There is no good reason to use logrus and os.Exit() here, other parts of this function already return the error so do the same. The main podman process will exit then with the normal formatted error message. And also log an error about the last return which should never happen as we should have exited above if the re-exec worked or errored out. Signed-off-by: Paul Holzinger <pholzing@redhat.com>