diff options
Diffstat (limited to 'test/test-execute/exec-privatenetwork-yes.service')
-rw-r--r-- | test/test-execute/exec-privatenetwork-yes.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-execute/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service index 494712e6a7..3df543ec93 100644 --- a/test/test-execute/exec-privatenetwork-yes.service +++ b/test/test-execute/exec-privatenetwork-yes.service @@ -2,5 +2,6 @@ Description=Test for PrivateNetwork [Service] -ExecStart=/bin/sh -c 'i=$(ip link | grep ": " | grep -v lo); echo $i; exit $(test -z $i)' +ExecStart=/bin/sh -x -c 'i=$$(ip link | grep ": " | grep -v ": lo:"); test -z "$$i"' +Type=oneshot PrivateNetwork=yes |