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:
parent
431bd069f0
commit
c6ce606e47
3 changed files with 39 additions and 74 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue