summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ea1c9b)
raw | patch | inline | side by side (parent: 4ea1c9b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Oct 2010 05:45:05 +0000 (05:45 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2139 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_update.c b/src/rrd_update.c
index 150b8d0b207c733c2e3e37b009b69f2ac12bf91e..f74edafb8edca4bb616b2c2481d7cd6ffdf20615 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
{ /* try to connect to rrdcached */
int status = rrdc_connect(opt_daemon);
- if (status != 0) return status;
+ if (status != 0) {
+ rc = status;
+ goto out;
+ }
}
if ((tmplt != NULL) && rrdc_is_connected(opt_daemon))