]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix nasty cut'n'waste error in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 22 Jan 2024 09:08:45 +0000 (10:08 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:06:29 +0000 (21:06 +0100)
* lisp/net/tramp.el (tramp-parse-passwd): Use `tramp-parse-passwd-group'.
Reported by Tim Landscheidt <tim@tim-landscheidt.de>.

(cherry picked from commit 14d68221d26af5c3e99ae0fbc7ade44494aaf4f3)

lisp/net/tramp.el

index 479a5c6c44f063ab13e3bbefaa0f6f78f6e2766d..f8776bc69246f69e0bb85114e2b4d864c9a96307 100644 (file)
@@ -3192,7 +3192,7 @@ Host is always \"localhost\"."
          (when (zerop (tramp-call-process nil "getent" nil t nil "passwd"))
            (goto-char (point-min))
            (cl-loop while (not (eobp)) collect
-                    (tramp-parse-etc-group-group))))
+                    (tramp-parse-passwd-group))))
       (tramp-parse-file filename #'tramp-parse-passwd-group))))
 
 (defun tramp-parse-passwd-group ()