Fix Bug#23883
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Call `process-actions' with adapted position. The connection buffer might have been cleaned up already. (Bug#23883)
This commit is contained in:
parent
0100805af1
commit
5083499205
1 changed files with 4 additions and 1 deletions
|
@ -4853,7 +4853,10 @@ connection if a previous connection has died for some reason."
|
|||
(tramp-message vec 3 "Sending command `%s'" command)
|
||||
(tramp-send-command vec command t t)
|
||||
(tramp-process-actions
|
||||
p vec pos tramp-actions-before-shell
|
||||
p vec
|
||||
(min
|
||||
pos (with-current-buffer (process-buffer p) (point-max)))
|
||||
tramp-actions-before-shell
|
||||
(or connection-timeout tramp-connection-timeout))
|
||||
(tramp-message
|
||||
vec 3 "Found remote shell prompt on `%s'" l-host))
|
||||
|
|
Loading…
Add table
Reference in a new issue