Browse Source

Fix broken dir read from pipe

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

+ 2
- 0
src/nnn.c View File

@@ -4273,6 +4273,8 @@ static void readpipe(int fd, char **path, char **lastname, char **lastdir)
if (len <= 0)
return;

/* Terminate the path read */
g_buf[len] = '\0';
nextpath = g_buf;
} else if (op == 'l') {
/* Remove last list mode path, if any */


Loading…
Cancel
Save