Fix error formatting log for post-restore hook errors.

PiperOrigin-RevId: 726780521
This commit is contained in:
Etienne Perot
2025-02-13 22:52:47 -08:00
committed by gVisor bot
parent 6b4f0082c2
commit d1fe5aeae0
+1 -1
View File
@@ -326,7 +326,7 @@ func (r *restorer) restore(l *Loader) error {
go func() {
if err := postRestoreImpl(l); err != nil {
log.Warningf("Killing the sandbox after post restore work failed: %w", err)
log.Warningf("Killing the sandbox after post restore work failed: %v", err)
l.k.Kill(linux.WaitStatusTerminationSignal(linux.SIGKILL))
return
}