summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/control/proc.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-08 20:44:17 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-08 20:44:17 +0000
commite4b190da475b0bc6a50229f30cb837116462c929 (patch)
treeb130373b7d2b1b9927e7e7b4ffb9f214e06d6874 /pkg/sentry/control/proc.go
parent3685a1eec38270bea760a0cd4a97df3a248a6046 (diff)
parent052eb90dc15e04dfd8397ca305c507399360dd0e (diff)
Merge release-20210628.0-31-g052eb90dc (automated)
Diffstat (limited to 'pkg/sentry/control/proc.go')
-rw-r--r--pkg/sentry/control/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/control/proc.go b/pkg/sentry/control/proc.go
index 221e98a01..b7ee5425d 100644
--- a/pkg/sentry/control/proc.go
+++ b/pkg/sentry/control/proc.go
@@ -126,7 +126,7 @@ func (proc *Proc) Exec(args *ExecArgs, waitStatus *uint32) error {
// Wait for completion.
newTG.WaitExited()
- *waitStatus = newTG.ExitStatus().Status()
+ *waitStatus = uint32(newTG.ExitStatus())
return nil
}