summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-24 00:09:25 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-24 00:09:25 +0000
commit438f820ac773e25c962e1b0f396497cc57369765 (patch)
tree688c71aed0dc50f407d5f7134c76328e3ff2c9f4 /runsc/cmd
parent8450ded1adf620a6eaec4e7a8398ebd8fea72bb1 (diff)
parentf2ea8e6b249d729d4616ee219c0472bfff93a575 (diff)
Merge release-20190806.1-172-gf2ea8e6 (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/exec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/cmd/exec.go b/runsc/cmd/exec.go
index e817eff77..bf1225e1c 100644
--- a/runsc/cmd/exec.go
+++ b/runsc/cmd/exec.go
@@ -127,6 +127,7 @@ func (ex *Exec) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
Fatalf("getting environment variables: %v", err)
}
}
+
if e.Capabilities == nil {
// enableRaw is set to true to prevent the filtering out of
// CAP_NET_RAW. This is the opposite of Create() because exec