diff cli-runopts.c @ 960:9e7b0810a4a2

merge
author Matt Johnston <matt@ucc.asn.au>
date Wed, 06 Aug 2014 22:08:16 +0800
parents 1bf92da7a2a0
children a4032b946355
line wrap: on
line diff
--- a/cli-runopts.c	Wed Aug 06 21:55:43 2014 +0800
+++ b/cli-runopts.c	Wed Aug 06 22:08:16 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);