mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Utilities/userdel: Fix unveil issue
Usage of FileSystem::real_path requires 'r'
This commit is contained in:
1 parent
caea8bf48b
commit
d864070f1b
1 file changed
+1
-1
@@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
auto& target_account = account_or_error.value();
|
||||
|
||||
if (remove_home)
|
||||
TRY(Core::System::unveil(target_account.home_directory(), "c"sv));
|
||||
TRY(Core::System::unveil(target_account.home_directory(), "rc"sv));
|
||||
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
|
||||
Reference in new issue
Block a user