Fix broken abort msg when starting in du mode

This commit is contained in:
Arun Prakash Jana 2020-02-19 19:04:51 +05:30
parent 39fffbac56
commit c5d122e299
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4862,6 +4862,9 @@ static bool browse(char *ipath, const char *session)
atexit(dentfree);
xlines = LINES;
xcols = COLS;
/* setup first context */
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */