Utilities/userdel: Fix unveil issue

Usage of FileSystem::real_path requires 'r'
This commit is contained in:
Bastiaan van der Plaat authored and Lucas Chollet committed 2026-05-01 08:54:42 +02:00
1 parent caea8bf48b
commit d864070f1b
1 file changed
+1 -1
+1 -1
View File
@@ -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));