aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-23 07:13:19 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-07-23 07:13:19 +0530
commit2a4008c9ab7edbbcf65fc9a05ea4fd7b2ea0a022 (patch)
tree63e11025573c6ad99a986c442fe34c6c7a6807f7 /src/nnn.c
parent27214bfca6c1ecf460dfd2ecb266a2451b3103cc (diff)
downloadnnn-2a4008c9ab7edbbcf65fc9a05ea4fd7b2ea0a022.tar.gz
Fix #307 - disable output
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index beaa87f..2142dfc 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1193,7 +1193,7 @@ static bool batch_rename(const char *path)
int fd1, fd2, i;
uint count = 0, lines = 0;
bool dir = FALSE, ret = FALSE;
- const char renamecmd[] = "paste -d'\n' %s %s | tr '\n' '\\0' | xargs -0 -n2 mv";
+ const char renamecmd[] = "paste -d'\n' %s %s | tr '\n' '\\0' | xargs -0 -n2 mv 2>/dev/null";
char foriginal[TMP_LEN_MAX] = {0};
char buf[sizeof(renamecmd) + (PATH_MAX << 1)];