Remove unnecessary newline output from su

This commit is contained in:
Wolfgang Corcoran-Mathe 2014-08-25 15:37:13 +01:00 committed by sin
parent cd1a3d5698
commit 9859943d47

2
su.c
View File

@ -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)