mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
usermod: Make error message less verbose
This commit is contained in:
parent
0875446b38
commit
b073d1dd8c
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto account_or_error = Core::Account::from_name(username);
|
||||
|
||||
if (account_or_error.is_error()) {
|
||||
warnln("Core::Account::from_name: {}", account_or_error.error());
|
||||
warnln("usermod: {}", strerror(account_or_error.error().code()));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue