Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another fix for inline python scripts

  • Loading branch information...
commit 57afe5efdd4b689889a15650b56b9d0e83e77f0e 1 parent 77ef643
dhubbard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sshmap/sshmap.py
View
2  sshmap/sshmap.py
@@ -250,7 +250,7 @@ def run_command(host, command="uname -a", username=None, password=None,
timeout = None
if not username:
username = getpass.getuser()
- if bufsize == -1 and script:
+ if bufsize == -1 and script and os.path.exists(script):
bufsize = os.path.getsize(script) + 1024
script_parameters = None
Please sign in to comment.
Something went wrong with that request. Please try again.