summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-08-06 22:04:49 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-08-06 22:04:49 +0800
commitce4af93d067b65f023afcbef3f2c9a670b786000 (patch)
tree2019da9c8dd35645065176d05c2a379abbbc0fc5
parent45cd2fc537a7d90a9a2051e90bdafc4a3ed2e1d1 (diff)
parent1e0bbc558176b8406f37fbafb11ab1b069b25ed0 (diff)
downloaddropbear-ce4af93d067b65f023afcbef3f2c9a670b786000.tar.gz
Merge pull request #2 from iquaba/patch-1
Try without identifying current user
-rw-r--r--cli-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 5f36f7c..8c9bc8e 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -684,7 +684,7 @@ static void fill_own_user() {
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);