summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-group.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-execute/exec-group.service')
-rw-r--r--test/test-execute/exec-group.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-execute/exec-group.service b/test/test-execute/exec-group.service
index 1aa04b5bd2..be7c796912 100644
--- a/test/test-execute/exec-group.service
+++ b/test/test-execute/exec-group.service
@@ -2,5 +2,6 @@
Description=Test for Group
[Service]
-ExecStart=/bin/sh -c 'exit $(test $(id -n -g) = nobody)'
+ExecStart=/bin/sh -x -c 'test "$$(id -n -g)" = "nobody"'
+Type=oneshot
Group=nobody