mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Fix broken abort msg when starting in du mode
This commit is contained in:
parent
39fffbac56
commit
c5d122e299
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue