This commit is contained in:
Daniel A. Wozniak 2018-05-14 10:30:04 -07:00 committed by rallytime
parent 506dceed17
commit 7214fe17c8
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -56,7 +56,7 @@ def can_runas():
'''
if salt.utils.is_windows():
try:
salt.utils.win_runas.run_as(
salt.utils.win_runas.runas(
'cmd.exe /c echo 1', 'noexistuser', 'n0existp4ss',
)
except WindowsError as exc: # pylint: disable=undefined-variable