ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

commit 9859943d47552a32438c0a8b2a7f933d30f733f0
parent cd1a3d56980cb6345acbed7ed218f7191e781081
Author: Wolfgang Corcoran-Mathe <first.lord.of.teal@gmail.com>
Date:   Mon, 25 Aug 2014 15:37:13 +0100

Remove unnecessary newline output from su

Diffstat:
Msu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/su.c b/su.c @@ -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)