summaryrefslogtreecommitdiff
path: root/test/TEST-12-ISSUE-3171/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-12-ISSUE-3171/test.sh')
-rwxr-xr-xtest/TEST-12-ISSUE-3171/test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/TEST-12-ISSUE-3171/test.sh b/test/TEST-12-ISSUE-3171/test.sh
index d0e934898c..e20f470143 100755
--- a/test/TEST-12-ISSUE-3171/test.sh
+++ b/test/TEST-12-ISSUE-3171/test.sh
@@ -6,8 +6,7 @@ TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/3171"
. $TEST_BASE_DIR/test-functions
test_run() {
- if check_nspawn; then
- run_nspawn
+ if run_nspawn; then
check_result_nspawn || return 1
else
dwarn "can't run systemd-nspawn, skipping"