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)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 22 Jan 2024 09:08:45 +0000 (10:08 +0100)
* lisp/net/tramp.el (tramp-parse-passwd): Use `tramp-parse-passwd-group'.
Reported by Tim Landscheidt <tim@tim-landscheidt.de>.

lisp/net/tramp.el

index 56b00bdeb4217665aae2563fd1ebd83901b90b40..bd556753261a46a69c960dd23d901ee3dc0b3a7f 100644 (file)
@@ -3518,7 +3518,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 ()