From 6803d5dfbecf3bc7e88baae34bff4a4471b2ad0a Mon Sep 17 00:00:00 2001 From: Doctor5555 <5555thedoctor@gmail.com> Date: Thu, 21 Jan 2021 16:28:54 +0000 Subject: [PATCH] passwd: Remove duplicate 'wpath' pledge --- Userland/Utilities/passwd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/passwd.cpp b/Userland/Utilities/passwd.cpp index fc2a382ff5..188ca3bf15 100644 --- a/Userland/Utilities/passwd.cpp +++ b/Userland/Utilities/passwd.cpp @@ -45,7 +45,7 @@ int main(int argc, char** argv) return 1; } - if (pledge("stdio wpath rpath wpath cpath fattr tty", nullptr) < 0) { + if (pledge("stdio wpath rpath cpath fattr tty", nullptr) < 0) { perror("pledge"); return 1; }