* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Adapt test.
This commit is contained in:
parent
5c77aed2d6
commit
ded89ed3fa
1 changed files with 1 additions and 1 deletions
|
@ -4759,7 +4759,7 @@ Goes through the list `tramp-inline-compress-commands'."
|
|||
(with-temp-buffer
|
||||
(tramp-call-process vec "ssh" nil t nil "-o" "ControlMaster")
|
||||
(goto-char (point-min))
|
||||
(when (search-forward-regexp "missing.+argument" nil t)
|
||||
(when (search-forward-regexp "\\(missing\\|no\\).+argument" nil t)
|
||||
(setq tramp-ssh-controlmaster-options
|
||||
"-o ControlMaster=auto")))
|
||||
(unless (zerop (length tramp-ssh-controlmaster-options))
|
||||
|
|
Loading…
Add table
Reference in a new issue