mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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