mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixed lint error in ssh_py_shim
This commit is contained in:
parent
404c1b50f7
commit
908ca1a439
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ def main(argv): # pylint: disable=W0613
|
|||
# Salt thin now is available to use
|
||||
else:
|
||||
scpstat = subprocess.Popen(['/bin/sh', '-c', 'command -v scp']).wait()
|
||||
if not scpstat == 0:
|
||||
if scpstat != 0:
|
||||
sys.exit(EX_SCP_NOT_FOUND)
|
||||
|
||||
if not os.path.exists(OPTIONS.saltdir):
|
||||
|
|
Loading…
Add table
Reference in a new issue