mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
test-path: fix inverted return value (#7050)
It must be <0 to indicate failure. Fixes #7050.
This commit is contained in:
committed by
GitHub
parent
cfe134e312
commit
be21bf856b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user