From 8a4b9c092665508858f48d6c7b584ce4e21ef894 Mon Sep 17 00:00:00 2001 From: bugreport0 <32939607+bugreport0@users.noreply.github.com> Date: Sat, 11 Dec 2021 10:48:55 +0100 Subject: [PATCH] passwd: Remove redundant pledge() --- Userland/Utilities/passwd.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Userland/Utilities/passwd.cpp b/Userland/Utilities/passwd.cpp index 952d9b2914..5d5e954333 100644 --- a/Userland/Utilities/passwd.cpp +++ b/Userland/Utilities/passwd.cpp @@ -63,11 +63,6 @@ int main(int argc, char** argv) setpwent(); - if (pledge("stdio wpath rpath cpath fattr tty", nullptr) < 0) { - perror("pledge"); - return 1; - } - // target_account is the account we are changing the password of. auto& target_account = account_or_error.value();