summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-13 19:05:09 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-13 19:05:09 +0000
commit92d492e8e71f1348108bd91598ae6b4de73e3832 (patch)
tree097940d9ef3c3bfc76099505a25a5340219b6afc /runsc/sandbox
parent3b7346145bcb48b8fb648e9b598ab3350002a754 (diff)
parent8d97b22aa8e565ff05c5e9209f13d2394e9706c8 (diff)
Merge 8d97b22a (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/sandbox.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index 851b1304b..df3c0c5ef 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -361,6 +361,8 @@ func (s *Sandbox) createSandboxProcess(conf *boot.Config, args *Args, startSyncF
nextFD++
}
+ cmd.Args = append(cmd.Args, "--panic-signal="+strconv.Itoa(int(syscall.SIGTERM)))
+
// Add the "boot" command to the args.
//
// All flags after this must be for the boot command