From: oetiker Date: Thu, 16 Oct 2008 21:30:17 +0000 (+0000) Subject: In almost all cases where rrdc_flush can fail, it will leave a more X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=96ad6b9f7c010948131ba7a8d9c0eea2d448e8ee;hp=4d7e379201b4cf3dbdad103d691ca7d2724ade2f In almost all cases where rrdc_flush can fail, it will leave a more descriptive error message anyway.. better not overwrite it. -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1614 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_client.c b/src/rrd_client.c index 5583bfe..5e22a98 100644 --- a/src/rrd_client.c +++ b/src/rrd_client.c @@ -615,14 +615,7 @@ int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename) /* {{{ * rrdc_connect(opt_daemon); if (rrdc_is_connected(opt_daemon)) - { status = rrdc_flush (filename); - if (status != 0) - { - rrd_set_error ("rrdc_flush (%s) failed with status %i.", - filename, status); - } - } /* if (rrdc_is_connected(..)) */ return status; } /* }}} int rrdc_flush_if_daemon */