summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-04-09 17:19:08 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-09 17:20:14 -0700
commit2a28e3e9c3463cf68cfa639425cfdcc298ad357a (patch)
tree6338ef520662f612c2d22a00fc014a6728d2443f /runsc
parent9f87502b4619b60779ce19c41ea0e6bd6582e8e4 (diff)
Don't unconditionally set --panic-signal
Closes #2393 PiperOrigin-RevId: 305793027
Diffstat (limited to 'runsc')
-rw-r--r--runsc/sandbox/sandbox.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index 2d464b1bf..e82bcef6f 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -402,8 +402,6 @@ 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