diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-10 17:36:36 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-10 17:36:36 +0000 |
commit | ea361bd0cdd92a89dd66b692c396eae8e14fb53a (patch) | |
tree | 168c12fcb942fb632bd1ad50b22b01f9e816aa0c /runsc/boot | |
parent | 6e6151b87b4ebfae504cddff4a88188ca87ae15b (diff) | |
parent | 79e7d0b06ac019e3c302e2ab9c5861311304d7d1 (diff) |
Merge release-20200804.0-55-g79e7d0b06 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/loader.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go index 533b9c5e7..40c6f99fd 100644 --- a/runsc/boot/loader.go +++ b/runsc/boot/loader.go @@ -32,6 +32,7 @@ import ( "gvisor.dev/gvisor/pkg/log" "gvisor.dev/gvisor/pkg/memutil" "gvisor.dev/gvisor/pkg/rand" + "gvisor.dev/gvisor/pkg/refs" "gvisor.dev/gvisor/pkg/sentry/arch" "gvisor.dev/gvisor/pkg/sentry/control" "gvisor.dev/gvisor/pkg/sentry/fdimport" @@ -1011,6 +1012,8 @@ func (l *Loader) WaitExit() kernel.ExitStatus { // Cleanup l.ctrl.stop() + refs.OnExit() + return l.k.GlobalInit().ExitStatus() } |