forked from systemd/systemd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/unit: ignore dropins for masked units completely when checking n…
…eed_reload Follow-up for 19a44df If a drop-in is set from upper level, e.g. global unit_type.d/, even if a unit is masked, its dropin_paths would still be partially populated. However, unit_need_daemon_reload() would always compare u->dropin_paths with empty strv in case of masked units, resulting in it always returning true. Instead, let's ignore dropins entirely here. Fixes systemd#33672
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters