summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-05 23:33:09 +0200
committercashmere <cashmere@autistici.org>2026-09-05 23:33:09 +0200
commit5253925d78544f833f82b3016431279c71b8cb81 (patch)
tree5e7eeaa4e24f7d345c26b0599dfc51f665c3cf20 /lisp
parent317c055fc3ec29adb1acd5722f7e7fe8483b336c (diff)
downloademacs-5253925d78544f833f82b3016431279c71b8cb81.tar.gz
x12: 2026-09-05T23:33:16+02:00
Diffstat (limited to 'lisp')
-rw-r--r--lisp/rsync-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/rsync-ui.el b/lisp/rsync-ui.el
index 19ce985..4ff4fb0 100644
--- a/lisp/rsync-ui.el
+++ b/lisp/rsync-ui.el
@@ -186,7 +186,7 @@
(defun rsync-ui--find-remote-rsync (host port callback)
(let* ((buffer (generate-new-buffer " *rsync-ui-ssh-check*"))
(script (concat
- "command -v rsync 2>/dev/null || "
+ "command -v rsync 2>/dev/null && exit 0; "
"for path in /run/current-system/sw/bin/rsync "
"/nix/var/nix/profiles/default/bin/rsync "
"/usr/local/bin/rsync; do "