From 2036d7518a7d1474ae37962d3ec72315c3eafe55 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 29 Mar 2021 20:44:41 +0200 Subject: [PATCH] SystemServer: Call endgrent() after we're finished looking up groups --- Userland/Services/SystemServer/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp index 19553df987a..17e52b9daa5 100644 --- a/Userland/Services/SystemServer/main.cpp +++ b/Userland/Services/SystemServer/main.cpp @@ -153,6 +153,8 @@ static void prepare_devfs() if (rc < 0) { VERIFY_NOT_REACHED(); } + + endgrent(); } static void mount_all_filesystems()