mirror of
https://github.com/jarun/nnn.git
synced 2024-09-29 09:17:51 +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);
|
atexit(dentfree);
|
||||||
|
|
||||||
|
xlines = LINES;
|
||||||
|
xcols = COLS;
|
||||||
|
|
||||||
/* setup first context */
|
/* setup first context */
|
||||||
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
|
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
|
||||||
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */
|
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */
|
||||||
|
|
Loading…
Reference in a new issue