1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

passwd: Remove redundant pledge()

This commit is contained in:
bugreport0 2021-12-11 10:48:55 +01:00 committed by Brian Gianforcaro
parent aa2b85c697
commit 8a4b9c0926

View file

@ -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();