summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/control/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/control/state.go')
-rw-r--r--pkg/sentry/control/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/control/state.go b/pkg/sentry/control/state.go
index 41feeffe3..d800f2c85 100644
--- a/pkg/sentry/control/state.go
+++ b/pkg/sentry/control/state.go
@@ -69,5 +69,5 @@ func (s *State) Save(o *SaveOpts, _ *struct{}) error {
s.Kernel.Kill(kernel.ExitStatus{})
},
}
- return saveOpts.Save(s.Kernel, s.Watchdog)
+ return saveOpts.Save(s.Kernel.SupervisorContext(), s.Kernel, s.Watchdog)
}