Fix bug in Tramp argument computing

* lisp/net/tramp-sh.el (tramp-ssh-or-plink-options): Return always
a string.  (Bug#76553)
This commit is contained in:
Michael Albinus 2025-02-25 15:50:35 +01:00
parent 55768eaaaa
commit c2d2094605

View file

@ -4951,7 +4951,10 @@ Goes through the list `tramp-inline-compress-commands'."
;; ControlPersist option is introduced in OpenSSH 5.6.
(when (and (not (eq tramp-use-connection-share 'suppress))
(tramp-ssh-option-exists-p vec "ControlPersist=no"))
" -o ControlPersist=no")))))))
" -o ControlPersist=no")))))
;; Return a string, whatsoever.
(t "")))
(defun tramp-scp-strict-file-name-checking (vec)
"Return the strict file name checking argument of the local scp."