diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-10-17 17:49:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 17:49:48 +0200 |
commit | be21bf856b77629c7f49ca65b3e62f650097048a (patch) | |
tree | 924cf80b3ae389cf5a301b57e1e2ff5552cd08aa /src/test/test-path.c | |
parent | cfe134e3120cc8d8874abc96d2ccb3fcf189c64d (diff) | |
download | systemd-be21bf856b77629c7f49ca65b3e62f650097048a.tar.gz |
test-path: fix inverted return value (#7050)
It must be <0 to indicate failure.
Fixes #7050.
Diffstat (limited to 'src/test/test-path.c')
-rw-r--r-- | src/test/test-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c index 9de3dd6674..051dfc4868 100644 --- a/src/test/test-path.c +++ b/src/test/test-path.c @@ -48,7 +48,7 @@ static int setup_test(Manager **m) { r = enter_cgroup_subroot(); if (r == -ENOMEDIUM) { log_notice_errno(r, "Skipping test: cgroupfs not available"); - return EXIT_TEST_SKIP; + return -EXIT_TEST_SKIP; } r = manager_new(UNIT_FILE_USER, MANAGER_TEST_RUN_MINIMAL, &tmp); |