mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
su: Tweak informal string
This commit is contained in:
parent
723f4e5ee6
commit
9775e2139d
Notes:
sideshowbarker
2024-07-19 05:35:50 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9775e2139dd
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ int main(int argc, char** argv)
|
||||||
fprintf(stderr, "Not running as root :(\n");
|
fprintf(stderr, "Not running as root :(\n");
|
||||||
} else if (getuid() != 0) {
|
} else if (getuid() != 0) {
|
||||||
const char* target_user = argc > 1 ? argv[1] : "root";
|
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;
|
uid_t uid = 0;
|
||||||
|
|
Loading…
Reference in a new issue