Fix last commit

This commit is contained in:
Michael Albinus 2015-02-03 10:42:13 +01:00
parent d6fee01589
commit 4e8d586076

View file

@ -324,8 +324,8 @@ useful only in combination with `tramp-default-proxies-alist'.")
(goto-char (point-min)) (goto-char (point-min))
(if (search-forward-regexp "unknown.+key" nil t) (if (search-forward-regexp "unknown.+key" nil t)
(setq result (setq result
(concat result " -o ControlPath=tramp.%%r@%%h:%%p")) (concat result " -o ControlPath='tramp.%%r@%%h:%%p'"))
(setq result (concat result " -o ControlPath=tramp.%%C")))) (setq result (concat result " -o ControlPath='tramp.%%C'"))))
(with-temp-buffer (with-temp-buffer
(call-process "ssh" nil t nil "-o" "ControlPersist") (call-process "ssh" nil t nil "-o" "ControlPersist")
(goto-char (point-min)) (goto-char (point-min))