summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/control
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-12-14 18:54:00 +0000
committergVisor bot <gvisor-bot@google.com>2020-12-14 18:54:00 +0000
commit702553edddb87e4aa93a190840948539233f61fc (patch)
treeb25a737dc0570fc9238a674a699b03ddfa1fc24c /pkg/sentry/control
parent20b0f212d20d29e43761b063cf76837c0646de9e (diff)
parent65e4ed8fbe15e3a8ebf96fdacf439d30d8a0e491 (diff)
Merge release-20201208.0-42-g65e4ed8fb (automated)
Diffstat (limited to 'pkg/sentry/control')
-rw-r--r--pkg/sentry/control/state.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/control/state.go b/pkg/sentry/control/state.go
index d800f2c85..62eaca965 100644
--- a/pkg/sentry/control/state.go
+++ b/pkg/sentry/control/state.go
@@ -62,6 +62,7 @@ func (s *State) Save(o *SaveOpts, _ *struct{}) error {
Callback: func(err error) {
if err == nil {
log.Infof("Save succeeded: exiting...")
+ s.Kernel.SetSaveSuccess(false /* autosave */)
} else {
log.Warningf("Save failed: exiting...")
s.Kernel.SetSaveError(err)