Mercurial > emacs
changeset 66630:7b4c431b02c5
(tramp-action-out-of-band): Handle scp message "Permission denied".
author | Lars Hansen <larsh@soem.dk> |
---|---|
date | Wed, 02 Nov 2005 07:05:32 +0000 |
parents | 8df54e3c1f25 |
children | d362d1ac4dbb |
files | lisp/net/tramp.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/tramp.el Wed Nov 02 01:34:04 2005 +0000 +++ b/lisp/net/tramp.el Wed Nov 02 07:05:32 2005 +0000 @@ -5361,6 +5361,9 @@ (tramp-message 10 "'set mode' error ignored.") (tramp-message 9 "Process has finished.") (throw 'tramp-action 'ok)) + (goto-char (point-min)) + (when (re-search-forward "^.cp.?: \\(.+: Permission denied.?\\)$" nil t) + (error "Remote host: %s" (match-string 1))) (tramp-message 9 "Process has died.") (throw 'tramp-action 'process-died))) (t nil)))