summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-execute/exec-protectkernelmodules-yes-capabilities.service')
-rw-r--r--test/test-execute/exec-protectkernelmodules-yes-capabilities.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-execute/exec-protectkernelmodules-yes-capabilities.service b/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
index e40160d..1f327a2 100644
--- a/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
+++ b/test/test-execute/exec-protectkernelmodules-yes-capabilities.service
@@ -5,5 +5,5 @@ Description=Test CAP_SYS_MODULE for ProtectKernelModules=yes
[Service]
ProtectKernelModules=yes
# sed: remove dropped (cap_xxx-[epi]) and IAB capabilities from the output
-ExecStart=/bin/sh -x -c '! capsh --print | sed -re "s/[^ ]+?\-[epi]+//g" -e '/IAB/d' | grep cap_sys_module'
+ExecStart=sh -x -c '! capsh --print | sed -re "s/[^ ]+?\-[epi]+//g" -e '/IAB/d' | grep cap_sys_module'
Type=oneshot