]> code.delx.au - gnu-emacs/blobdiff - lisp/net/tramp-sh.el
-
[gnu-emacs] / lisp / net / tramp-sh.el
index ab4f07fc020a514889f37e7994cac5657376ced5..7e0b13ddf006c3a228bbea3f7b8b86249f10ba7f 100644 (file)
@@ -4933,7 +4933,10 @@ connection if a previous connection has died for some reason."
                        target-alist (cdr target-alist)))
 
                ;; Make initial shell settings.
-               (tramp-open-connection-setup-interactive-shell p vec)))))
+               (tramp-open-connection-setup-interactive-shell p vec)
+
+               ;; Mark it as connected.
+               (tramp-set-connection-property p "connected" t)))))
 
       ;; When the user did interrupt, we must cleanup.
       (quit