Merge pull request #47643 from dwoz/runas_detect

Remove unwanted file
This commit is contained in:
Nicole Thomas 2018-05-14 13:53:56 -04:00 committed by GitHub
commit db0eef3e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

4
test
View file

@ -1,4 +0,0 @@
a
b
c

View file

@ -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