From b073d1dd8c8147533f83308ddd79aa84be2fcade Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 7 Aug 2023 06:35:40 +0100 Subject: [PATCH] usermod: Make error message less verbose --- Userland/Utilities/usermod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/usermod.cpp b/Userland/Utilities/usermod.cpp index 9b704370e7..2113670573 100644 --- a/Userland/Utilities/usermod.cpp +++ b/Userland/Utilities/usermod.cpp @@ -118,7 +118,7 @@ ErrorOr 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; }