]> Sergey Matveev's repositories - nnn.git/commitdiff
Suppress copier script trace
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Apr 2018 09:17:34 +0000 (14:47 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 14 Apr 2018 09:17:34 +0000 (14:47 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index f28e72aa788b9d66bbbef86f1e429de5dd96ee1c..25a1c8cc453cbde1cc2117b36ec8c8657bf62cb9 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -2995,7 +2995,7 @@ nochange:
                                        if (cfg.noxdisplay)
                                                writecp(g_buf, r + 1); /* Truncate NULL from end */
                                        else
-                                               spawn(copier, g_buf, NULL, NULL, F_NONE);
+                                               spawn(copier, g_buf, NULL, NULL, F_NOTRACE);
 
                                        g_buf[r] = '\0';
                                        printmsg(g_buf + 1);
@@ -3004,7 +3004,7 @@ nochange:
                                        if (cfg.noxdisplay)
                                                writecp(newpath, r - 1); /* Truncate NULL from end */
                                        else
-                                               spawn(copier, newpath, NULL, NULL, F_NONE);
+                                               spawn(copier, newpath, NULL, NULL, F_NOTRACE);
                                        printmsg(newpath);
                                }
                        } else if (!copier)
@@ -3054,7 +3054,7 @@ nochange:
                                        if (cfg.noxdisplay)
                                                writecp(pcopybuf, copybufpos - 1); /* Truncate NULL from end */
                                        else
-                                               spawn(copier, pcopybuf, NULL, NULL, F_NONE);
+                                               spawn(copier, pcopybuf, NULL, NULL, F_NOTRACE);
                                        DPRINTF_S(pcopybuf);
                                        if (!len)
                                                printmsg("files copied");