aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/tramp-sh.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index b0a2c431f95..fec9f10d704 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -5409,8 +5409,13 @@ Nonexistent directories are removed from spec."
5409 "Determine remote `gvfs-monitor-dir' command." 5409 "Determine remote `gvfs-monitor-dir' command."
5410 (with-tramp-connection-property vec "gvfs-monitor-dir" 5410 (with-tramp-connection-property vec "gvfs-monitor-dir"
5411 (tramp-message vec 5 "Finding a suitable `gvfs-monitor-dir' command") 5411 (tramp-message vec 5 "Finding a suitable `gvfs-monitor-dir' command")
5412 (tramp-find-executable 5412 ;; We distinguish "gvfs-monitor-dir.exe" from cygwin in order to
5413 vec "gvfs-monitor-dir" (tramp-get-remote-path vec) t t))) 5413 ;; establish better timeouts in filenotify-tests.el. Any better
5414 ;; distinction approach would be welcome!
5415 (or (tramp-find-executable
5416 vec "gvfs-monitor-dir.exe" (tramp-get-remote-path vec) t t)
5417 (tramp-find-executable
5418 vec "gvfs-monitor-dir" (tramp-get-remote-path vec) t t))))
5414 5419
5415(defun tramp-get-remote-inotifywait (vec) 5420(defun tramp-get-remote-inotifywait (vec)
5416 "Determine remote `inotifywait' command." 5421 "Determine remote `inotifywait' command."