git://git.onelab.eu
/
pcucontrol.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move the 'Requires: pcucontrol' from myplc to PLCAPI, as it's needed by RebootNodeWithPCU
[pcucontrol.git]
/
pcucontrol
/
transports
/
pyssh
/
__init__.py
diff --git
a/pcucontrol/transports/pyssh/__init__.py
b/pcucontrol/transports/pyssh/__init__.py
index
78bb951
..
0c5cf4f
100644
(file)
--- a/
pcucontrol/transports/pyssh/__init__.py
+++ b/
pcucontrol/transports/pyssh/__init__.py
@@
-43,7
+43,7
@@
if os.name=='posix':
# if sufficient.
\r
sshpopen2=ptyext.popen2
\r
CLOSE_STR='~.'
\r
- tp=os.popen('
/usr/bin/which ssh
')
\r
+ tp=os.popen('
bash -c "type -p ssh"
')
\r
SSH_PATH=tp.read().strip()
\r
try:
\r
tp.close()
\r