X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fexec.c;h=9aabe9fc9956fb87e2ea48e6240803daef745215;hb=3e375cba6873e0e5d47de4b16058cbd5ceb96184;hp=c64f949fc57b4ac5cff424a6b27e7cd283e13184;hpb=7fc9c92bd22bf69bdf4b6b85ce6f2dc692ff0869;p=collectd.git diff --git a/src/exec.c b/src/exec.c index c64f949f..9aabe9fc 100644 --- a/src/exec.c +++ b/src/exec.c @@ -541,12 +541,9 @@ static int parse_line (char *buffer) /* {{{ */ return (handle_putnotif (stdout, buffer)); else { - /* For backwards compatibility */ - char tmp[1220]; - /* Let's annoy the user a bit.. */ - INFO ("exec plugin: Prepending `PUTVAL' to this line: %s", buffer); - ssnprintf (tmp, sizeof (tmp), "PUTVAL %s", buffer); - return (handle_putval (stdout, tmp)); + ERROR ("exec plugin: Unable to parse command, ignoring line: \"%s\"", + buffer); + return (-1); } } /* int parse_line }}} */