summaryrefslogtreecommitdiff
path: root/Userland/Services/SystemServer
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-29 20:44:41 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-29 20:44:41 +0200
commit2036d7518a7d1474ae37962d3ec72315c3eafe55 (patch)
tree9cc05822dd91acfbcbcfc3d199005a8681cabffd /Userland/Services/SystemServer
parent3cd8d7e968879c885794cd83e1cdce22fb55fd85 (diff)
downloadserenity-2036d7518a7d1474ae37962d3ec72315c3eafe55.zip
SystemServer: Call endgrent() after we're finished looking up groups
Diffstat (limited to 'Userland/Services/SystemServer')
-rw-r--r--Userland/Services/SystemServer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp
index 19553df987..17e52b9daa 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()