]> git.itanic.dy.fi Git - rrdd/blobdiff - process.c
process: run: Fix bug with multi-line prints
[rrdd] / process.c
index 3b107008cf9f63c8430f80b2e40096f6faf3ff8d..7de41b9abc2262908c543f36619bb871e73fffed 100644 (file)
--- a/process.c
+++ b/process.c
@@ -658,7 +658,7 @@ print:
                                else
                                        pr_info("%s: stdout: %s\n",
                                                cmd, sptr);
-                               sptr = eptr;
+                               sptr = eptr + 1;
                        }
                        eptr++;
                }