aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun_with_only_cap_net_bind_service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_with_only_cap_net_bind_service.py b/run_with_only_cap_net_bind_service.py
index 9b4d6cc..d5b88a6 100755
--- a/run_with_only_cap_net_bind_service.py
+++ b/run_with_only_cap_net_bind_service.py
@@ -50,7 +50,7 @@ CAP_CLEAR = 0
CAP_SET = 1
# generated list with command line below:
-# sed -n 's/^#define \(CAP_.*\) \+\([0-9]\+\).*$/\1 = \2/p' /usr/include/linux/capability.h
+# sed -n 's/^#define \(CAP_.*\)\s\+\([0-9]\+\).*$/\1 = \2/p' /usr/include/linux/capability.h
CAP_CHOWN = 0
CAP_DAC_OVERRIDE = 1
CAP_DAC_READ_SEARCH = 2