changeset 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 36eacc322e00 (current diff) 1bf92da7a2a0 (diff)
children 9e7b0810a4a2
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);