diff --git a/src/nnn.c b/src/nnn.c index fd614f2d..434e44fe 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7259,8 +7259,12 @@ nochange: /* Repopulate as directory content may have changed */ goto begin; case SEL_UMOUNT: - if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path)) + presel = MSG_ZERO; + if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path)) { + if (presel == MSG_ZERO) + statusbar(path); goto nochange; + } /* Dir removed, go to next entry */ copynextname(lastname);