mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Suppress copier script trace
This commit is contained in:
parent
8e4ebbed4c
commit
511a1031b5
6
nnn.c
6
nnn.c
|
@ -2995,7 +2995,7 @@ nochange:
|
||||||
if (cfg.noxdisplay)
|
if (cfg.noxdisplay)
|
||||||
writecp(g_buf, r + 1); /* Truncate NULL from end */
|
writecp(g_buf, r + 1); /* Truncate NULL from end */
|
||||||
else
|
else
|
||||||
spawn(copier, g_buf, NULL, NULL, F_NONE);
|
spawn(copier, g_buf, NULL, NULL, F_NOTRACE);
|
||||||
|
|
||||||
g_buf[r] = '\0';
|
g_buf[r] = '\0';
|
||||||
printmsg(g_buf + 1);
|
printmsg(g_buf + 1);
|
||||||
|
@ -3004,7 +3004,7 @@ nochange:
|
||||||
if (cfg.noxdisplay)
|
if (cfg.noxdisplay)
|
||||||
writecp(newpath, r - 1); /* Truncate NULL from end */
|
writecp(newpath, r - 1); /* Truncate NULL from end */
|
||||||
else
|
else
|
||||||
spawn(copier, newpath, NULL, NULL, F_NONE);
|
spawn(copier, newpath, NULL, NULL, F_NOTRACE);
|
||||||
printmsg(newpath);
|
printmsg(newpath);
|
||||||
}
|
}
|
||||||
} else if (!copier)
|
} else if (!copier)
|
||||||
|
@ -3054,7 +3054,7 @@ nochange:
|
||||||
if (cfg.noxdisplay)
|
if (cfg.noxdisplay)
|
||||||
writecp(pcopybuf, copybufpos - 1); /* Truncate NULL from end */
|
writecp(pcopybuf, copybufpos - 1); /* Truncate NULL from end */
|
||||||
else
|
else
|
||||||
spawn(copier, pcopybuf, NULL, NULL, F_NONE);
|
spawn(copier, pcopybuf, NULL, NULL, F_NOTRACE);
|
||||||
DPRINTF_S(pcopybuf);
|
DPRINTF_S(pcopybuf);
|
||||||
if (!len)
|
if (!len)
|
||||||
printmsg("files copied");
|
printmsg("files copied");
|
||||||
|
|
Loading…
Reference in a new issue