mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
passwd: Remove redundant pledge()
This commit is contained in:
parent
aa2b85c697
commit
8a4b9c0926
1 changed files with 0 additions and 5 deletions
|
@ -63,11 +63,6 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
setpwent();
|
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.
|
// target_account is the account we are changing the password of.
|
||||||
auto& target_account = account_or_error.value();
|
auto& target_account = account_or_error.value();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue