Mercurial > dropbear
diff cli-runopts.c @ 959:f92394f3f332
Merge pull request #2 from iquaba/patch-1
Try without identifying current user
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 Aug 2014 22:04:49 +0800 |
parents | 1bf92da7a2a0 |
children | a4032b946355 |
line wrap: on
line diff
--- a/cli-runopts.c Mon Jul 28 23:23:49 2014 +0800 +++ b/cli-runopts.c Wed Aug 06 22:04:49 2014 +0800 @@ -684,7 +684,7 @@ pw = getpwuid(uid); if (pw == NULL || pw->pw_name == NULL) { - dropbear_exit("Unknown own user"); + dropbear_log(LOG_INFO, "Warning: failed to identify current user. Trying anyway."); } cli_opts.own_user = m_strdup(pw->pw_name);