summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-09-15 05:02:29 +0000
committergVisor bot <gvisor-bot@google.com>2021-09-15 05:02:29 +0000
commite6130b772dee095090bf33c96a74d429c53b8710 (patch)
tree89b41cf94eb890df2b42f485724fccee44fc05b0 /runsc/cmd
parent6a5b9b9d9aa9c789e287d1409b885afe4db0fab7 (diff)
parent2d9883e4f1355677f986fc9a387fb70b6e438611 (diff)
Merge release-20210906.0-24-g2d9883e4f (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/do.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/runsc/cmd/do.go b/runsc/cmd/do.go
index 6cf76f644..4eb5a96f1 100644
--- a/runsc/cmd/do.go
+++ b/runsc/cmd/do.go
@@ -130,7 +130,6 @@ func (c *Do) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) su
if conf.Network == config.NetworkNone {
addNamespace(spec, specs.LinuxNamespace{Type: specs.NetworkNamespace})
-
} else if conf.Rootless {
if conf.Network == config.NetworkSandbox {
c.notifyUser("*** Warning: sandbox network isn't supported with --rootless, switching to host ***")