Remove unnecessary newline output from su
This commit is contained in:
parent
cd1a3d5698
commit
9859943d47
2
su.c
2
su.c
@ -64,7 +64,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
uid = getuid();
|
uid = getuid();
|
||||||
if (uid) {
|
if (uid) {
|
||||||
pass = getpass("Password: "); putchar('\n');
|
pass = getpass("Password: ");
|
||||||
if (!pass)
|
if (!pass)
|
||||||
eprintf("getpass:");
|
eprintf("getpass:");
|
||||||
if (pw_check(pw, pass) <= 0)
|
if (pw_check(pw, pass) <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user