diff options
author | ache <ache@FreeBSD.org> | 1996-10-17 16:47:22 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-10-17 16:47:22 +0000 |
commit | 1d189e339e73ad78eb02819112a70a5595c9b6b0 (patch) | |
tree | 45ec15192b5b7169113ec9fe65fa449be94da820 | |
parent | 1a2b6d1960008d834d4098c390542b3332a4b9d1 (diff) | |
download | FreeBSD-src-1d189e339e73ad78eb02819112a70a5595c9b6b0.zip FreeBSD-src-1d189e339e73ad78eb02819112a70a5595c9b6b0.tar.gz |
Change "nope" to ":"
Previous variant not work well, if you have a user with name nope
-rw-r--r-- | lib/libskey/skey_getpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libskey/skey_getpass.c b/lib/libskey/skey_getpass.c index cc2fcc3..51b564b 100644 --- a/lib/libskey/skey_getpass.c +++ b/lib/libskey/skey_getpass.c @@ -12,7 +12,7 @@ int pwok; static char buf[128]; struct skey skey; char *pass = ""; - char *username = pwd ? pwd->pw_name : "nope"; + char *username = pwd ? pwd->pw_name : ":"; int sflag; /* Attempt an s/key challenge. */ |