summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-28 03:46:43 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-28 03:46:43 +0000
commit405e8e9540a8ad751ea16cb912f1d0f0e8648feb (patch)
treea5f2bc7fa431819d3c201bcc66740b384ad88753 /runsc/cmd
parent0a7d2ef5a792a2bd01de75c9ed59c99d4872ff0a (diff)
parent22ac9b07237f79e55b8af64cce02b4753e0c7cab (diff)
Merge release-20201019.0-79-g22ac9b072 (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/boot.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/runsc/cmd/boot.go b/runsc/cmd/boot.go
index cd419e1aa..2c92e3067 100644
--- a/runsc/cmd/boot.go
+++ b/runsc/cmd/boot.go
@@ -131,11 +131,11 @@ func (b *Boot) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
return subcommands.ExitUsageError
}
- // Ensure that if there is a panic, all goroutine stacks are printed.
- debug.SetTraceback("system")
-
conf := args[0].(*config.Config)
+ // Set traceback level
+ debug.SetTraceback(conf.Traceback)
+
if b.attached {
// Ensure this process is killed after parent process terminates when
// attached mode is enabled. In the unfortunate event that the parent