Skip to content

Commit

Permalink
Change cmd.run_all to cmd.run
Browse files Browse the repository at this point in the history
  • Loading branch information
leeclemens committed Dec 22, 2023
1 parent 12d0cec commit 70c9db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _timedatectl():
"""
get the output of timedatectl
"""
ret = __salt__["cmd.run_all"](["timedatectl"], python_shell=False)
ret = __salt__["cmd.run"]("timedatectl", python_shell=False)

if ret["retcode"] != 0:
msg = "timedatectl failed: {}".format(ret["stderr"])
Expand Down

0 comments on commit 70c9db0

Please sign in to comment.