passwd: Remove duplicate 'wpath' pledge

This commit is contained in:
Doctor5555 2021-01-21 16:28:54 +00:00 committed by Andreas Kling
parent 2830ce5383
commit 6803d5dfbe
Notes: sideshowbarker 2024-07-18 23:01:21 +09:00

View file

@ -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;
}