summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-07-25 09:10:32 -0700
committerShentubot <shentubot@google.com>2018-07-25 09:11:45 -0700
commit1129b35c92034d04ed22cf69e270ed9c034069d7 (patch)
treec632bcb8969ee49fc31ab7148883cbe17712fd62 /pkg
parent32aa0f5465832c437a9de83c1c1a04b615d68122 (diff)
runsc: Fix "exec" command when called without --pid-file.
When "exec" command is called without the "--detach" flag, we spawn a second "exec" command and wait for that one to start. We use the pid file passed in --pid-file to detect when this second command has started running. However if "exec" is called with no --pid-file flag, this system breaks down, as we don't have a pid file to wait for. This CL ensures that the second instance of the "exec" command always writes a pid-file, so the wait is successful. PiperOrigin-RevId: 206002403 Change-Id: If9f2be31eb6e831734b1b833f25054ec71ab94a6
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions