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

LibCore+id: Make more use of Core::System wrappers in Core::Account

This commit is contained in:
Andreas Kling 2022-01-01 18:48:09 +01:00
parent 431bd069f0
commit c6ce606e47
3 changed files with 39 additions and 74 deletions

View file

@ -55,7 +55,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
else
account = TRY(Core::Account::from_name(user_str.characters(), Core::Account::Read::PasswdOnly));
} else {
account = Core::Account::self(Core::Account::Read::PasswdOnly);
account = TRY(Core::Account::self(Core::Account::Read::PasswdOnly));
}
return print_id_objects(account.value());