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
1 changed files with 1 additions and 1 deletions

2
su.c
View File

@ -64,7 +64,7 @@ main(int argc, char *argv[])
uid = getuid();
if (uid) {
pass = getpass("Password: "); putchar('\n');
pass = getpass("Password: ");
if (!pass)
eprintf("getpass:");
if (pw_check(pw, pass) <= 0)