summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-27 17:22:48 +0200
committerGitHub <noreply@github.com>2019-09-27 17:22:48 +0200
commita8c2b5dee4b746c2e83970603ff2645008d54b95 (patch)
tree90a26ad83414e451a136cc542a9eb07ec5975173 /cmd/podman
parent92e1b661ff5fba140ba07dd2c956e5aede90e9b5 (diff)
parent65b20bd521302020ff229d455c60102e15a41b8a (diff)
downloadpodman-a8c2b5dee4b746c2e83970603ff2645008d54b95.tar.gz
podman-a8c2b5dee4b746c2e83970603ff2645008d54b95.tar.bz2
podman-a8c2b5dee4b746c2e83970603ff2645008d54b95.zip
Merge pull request #4127 from nalind/reexec-use
Correct use of reexec.Init()
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 8cc8a0b8e..344170ddd 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -149,6 +149,8 @@ func main() {
//cpuProfile := false
if reexec.Init() {
+ // We were invoked with a different argv[0] indicating that we
+ // had a specific job to do as a subprocess, and it's done.
return
}
// Hard code TMPDIR functions to use /var/tmp, if user did not override