summaryrefslogtreecommitdiff
path: root/test/TEST-05-RLIMITS/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-05-RLIMITS/test.sh')
-rwxr-xr-xtest/TEST-05-RLIMITS/test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/TEST-05-RLIMITS/test.sh b/test/TEST-05-RLIMITS/test.sh
index 6eaa0b8f34..a5f7e8de0b 100755
--- a/test/TEST-05-RLIMITS/test.sh
+++ b/test/TEST-05-RLIMITS/test.sh
@@ -25,8 +25,7 @@ test_run() {
else
dwarn "can't run QEMU, skipping"
fi
- if check_nspawn; then
- run_nspawn
+ if run_nspawn; then
check_result_nspawn || return 1
else
dwarn "can't run systemd-nspawn, skipping"