mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
db0eef3e8b
2 changed files with 1 additions and 5 deletions
4
test
4
test
|
@ -1,4 +0,0 @@
|
|||
a
|
||||
b
|
||||
c
|
||||
|
|
@ -52,7 +52,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
|
||||
|
|
Loading…
Add table
Reference in a new issue