Don't unconditionally set --panic-signal

Closes #2393

PiperOrigin-RevId: 305793027
This commit is contained in:
Fabricio Voznika
2020-04-09 17:20:14 -07:00
committed by gVisor bot
parent 9f87502b46
commit 2a28e3e9c3
-2
View File
@@ -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