aboutsummaryrefslogtreecommitdiff
path: root/rcynic/rcynic-html.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-02-25 03:58:36 +0000
committerRob Austein <sra@hactrn.net>2013-02-25 03:58:36 +0000
commitd2bb943731ec492941e367fc9c399a1c9fd89e11 (patch)
treea9be1eba3ac2748649a0c78333c9b4165e70e745 /rcynic/rcynic-html.py
parentb033927cf90652a52ce2d71d95a4572527602d8f (diff)
parent10408f676d398b1961d24daf360d42f79b8ecfc5 (diff)
Merge platform-specific packaging changes back to trunk. Closes #377,
#374, #395, #398. Also see #373, which ended up not being covered by this branch after all. svn path=/trunk/; revision=5065
Diffstat (limited to 'rcynic/rcynic-html.py')
-rw-r--r--rcynic/rcynic-html.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcynic/rcynic-html.py b/rcynic/rcynic-html.py
index d86c84f3..46e2e634 100644
--- a/rcynic/rcynic-html.py
+++ b/rcynic/rcynic-html.py
@@ -323,6 +323,9 @@ class Host(Problem_Mixin):
except OSError, e:
usage("Problem running %s, perhaps you need to set --rrdtool-binary? (%s)" % (
opt["rrdtool-binary"], e))
+ except subprocess.CalledProcessError, e:
+ sys.exit("Failure running %s: %s" % (
+ opt["rrdtool-binary"], e))
def rrd_update(self):
filename = os.path.join(opt["output_directory"], self.hostname) + ".rrd"