1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

analyze: ignore dependencies with security --offline

We don't care about validating dependencies here, the security verb is
only checking the unit(s) under test.
This commit is contained in:
Luca Boccassi 2021-09-08 15:15:00 +01:00 committed by Luca Boccassi
parent 9f6ef46781
commit 3f1487f5a0

View File

@ -2647,6 +2647,7 @@ static int offline_security_checks(char **filenames,
const ManagerTestRunFlags flags =
MANAGER_TEST_RUN_MINIMAL |
MANAGER_TEST_RUN_ENV_GENERATORS |
MANAGER_TEST_RUN_IGNORE_DEPENDENCIES |
run_generators * MANAGER_TEST_RUN_GENERATORS;
_cleanup_(manager_freep) Manager *m = NULL;