rrdtool and rrdcached plugins: Don't update the file if ...
[collectd.git] / src / rrdtool.c
index a673879..e7c48c0 100644 (file)
@@ -913,6 +913,8 @@ static int rrd_write (const data_set_t *ds, const value_list_t *vl,
                                        ds, vl, &rrdcreate_config);
                        if (status != 0)
                                return (-1);
+                       else if (rrdcreate_config.async)
+                               return (0);
                }
                else
                {