mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
usermod: Make error message less verbose
This commit is contained in:
parent
0875446b38
commit
b073d1dd8c
Notes:
sideshowbarker
2024-07-17 06:45:52 +09:00
Author: https://github.com/tcl3
Commit: b073d1dd8c
Pull-request: https://github.com/SerenityOS/serenity/pull/20404
Reviewed-by: https://github.com/gmta ✅
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