diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-06-07 15:01:20 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-06-07 15:01:20 +0000 |
commit | 19ad77cc512bbf8bccb3892ed183a7ba66d5b311 (patch) | |
tree | 80a81ac42eecda02aac0210e34938970fa28c068 /dropbearkey.c | |
parent | cdec63e0888cc4841cc8fcb27e6e4fc4cd836860 (diff) | |
download | dropbear-19ad77cc512bbf8bccb3892ed183a7ba66d5b311.tar.gz |
Add -N "no remote command" dbclient option.
Document -N in dbclient.1 and -P in dropbear.8
Diffstat (limited to 'dropbearkey.c')
-rw-r--r-- | dropbearkey.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dropbearkey.c b/dropbearkey.c index 0825053..280e1b3 100644 --- a/dropbearkey.c +++ b/dropbearkey.c @@ -321,8 +321,7 @@ static void printpubkey(sign_key * key, int keytype) { /* a user@host comment is informative */ username = ""; pw = getpwuid(getuid()); - if (pw) - { + if (pw) { username = pw->pw_name; } |