Browse Source

Add verbosity

master
Arun Prakash Jana 6 years ago
parent
commit
9b2966772c
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c View File

@@ -2564,7 +2564,7 @@ static int dentfill(char *path, struct entry **dents)
ent_blocks = 0; ent_blocks = 0;
mkpath(path, namep, g_buf); mkpath(path, namep, g_buf);


mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf));
mvprintw(LINES - 1, 0, "scanning %s [^C aborts]\n", xbasename(g_buf));
refresh(); refresh();
if (nftw(g_buf, nftw_fn, open_max, if (nftw(g_buf, nftw_fn, open_max,
FTW_MOUNT | FTW_PHYS) == -1) { FTW_MOUNT | FTW_PHYS) == -1) {
@@ -2643,7 +2643,7 @@ static int dentfill(char *path, struct entry **dents)
num_saved = num_files + 1; num_saved = num_files + 1;
mkpath(path, namep, g_buf); mkpath(path, namep, g_buf);


mvprintw(LINES - 1, 0, "scanning %s\n", xbasename(g_buf));
mvprintw(LINES - 1, 0, "scanning %s [^C aborts]\n", xbasename(g_buf));
refresh(); refresh();
if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) { if (nftw(g_buf, nftw_fn, open_max, FTW_MOUNT | FTW_PHYS) == -1) {
printmsg(messages[STR_NFTWFAIL_ID]); printmsg(messages[STR_NFTWFAIL_ID]);


Loading…
Cancel
Save