Commit 9468f7f6 authored by Matt Johnston's avatar Matt Johnston
Browse files

Merge pull request #2 from iquaba/patch-1

Try without identifying current user
parents 0e7409c7 e815e974
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment