mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct typo
This commit is contained in:
parent
002d02a5e7
commit
b01ae2ce28
1 changed files with 1 additions and 1 deletions
|
@ -3541,7 +3541,7 @@ def services_need_restart(**kwargs):
|
||||||
|
|
||||||
salt '*' pkg.services_need_restart
|
salt '*' pkg.services_need_restart
|
||||||
"""
|
"""
|
||||||
if _yum() in ("dnf", "dnf5"):
|
if _yum() not in ("dnf", "dnf5"):
|
||||||
raise CommandExecutionError(
|
raise CommandExecutionError(
|
||||||
"dnf or dnf5 is required to list outdated services."
|
"dnf or dnf5 is required to list outdated services."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue