diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-16 11:19:43 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-19 20:14:05 +0200 |
commit | e0a3da1fd2b832929e210dab4a84c91b8b984102 (patch) | |
tree | 6cef1b8280814cc04fb408b9f0310ff1cefc9a65 /src/analyze/analyze-verify.c | |
parent | fix path in btrfs rule (#6844) (diff) | |
download | systemd-e0a3da1fd2b832929e210dab4a84c91b8b984102.tar.xz systemd-e0a3da1fd2b832929e210dab4a84c91b8b984102.zip |
Make test_run into a flags field and disable generators again
Now generators are only run in systemd --test mode, where this makes
most sense (how are you going to test what would happen otherwise?).
Fixes #6842.
v2:
- rename test_run to test_run_flags
Diffstat (limited to 'src/analyze/analyze-verify.c')
-rw-r--r-- | src/analyze/analyze-verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-verify.c b/src/analyze/analyze-verify.c index 0ce0276d92..375b457ae8 100644 --- a/src/analyze/analyze-verify.c +++ b/src/analyze/analyze-verify.c @@ -264,7 +264,7 @@ int verify_units(char **filenames, UnitFileScope scope, bool check_man) { assert_se(set_unit_path(var) >= 0); - r = manager_new(scope, true, &m); + r = manager_new(scope, MANAGER_TEST_RUN_ENV_GENERATORS, &m); if (r < 0) return log_error_errno(r, "Failed to initialize manager: %m"); |