summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-17 18:41:41 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-17 18:41:59 +0200
commit9775e2139dd48d81659be631e1ee8bb9c1ca7ce4 (patch)
treec53f1590fe10153cd3a077c9a34ebd9cd0b68428 /Userland
parent723f4e5ee65cb31b29428d2ea4d701fd906204c0 (diff)
downloadserenity-9775e2139dd48d81659be631e1ee8bb9c1ca7ce4.zip
su: Tweak informal string
Diffstat (limited to 'Userland')
-rw-r--r--Userland/su.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/su.cpp b/Userland/su.cpp
index 2c59b8751e..f464dd57e8 100644
--- a/Userland/su.cpp
+++ b/Userland/su.cpp
@@ -40,7 +40,7 @@ int main(int argc, char** argv)
fprintf(stderr, "Not running as root :(\n");
} else if (getuid() != 0) {
const char* target_user = argc > 1 ? argv[1] : "root";
- fprintf(stderr, "Since you're such a good boy, %s, here's a %s shell for you\n", getlogin(), target_user);
+ fprintf(stderr, "Access to account '%s' granted\n", target_user);
}
uid_t uid = 0;