Skip to content

Commit 7a07e27

Browse files
committed
Merge pull request #11590 from xianzhe-databricks:fix-hang-with-subprocess-death
PiperOrigin-RevId: 741639464
2 parents 1b4fc20 + e7520af commit 7a07e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sentry/kernel/task_run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func (app *runApp) execute(t *Task) taskRunState {
356356
default:
357357
// What happened? Can't continue.
358358
t.Warningf("Unexpected SwitchToApp error: %v", err)
359-
t.PrepareExit(linux.WaitStatusExit(int32(ExtractErrno(err, -1))))
359+
t.PrepareGroupExit(linux.WaitStatusTerminationSignal(linux.SIGKILL))
360360
return (*runExit)(nil)
361361
}
362362
}

0 commit comments

Comments
 (0)