git.cweiske.de
/
munin-heatpump.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more error checking for xsltproc
[munin-heatpump.git]
/
heatpump-dimplex-wpm_
diff --git
a/heatpump-dimplex-wpm_
b/heatpump-dimplex-wpm_
index cbdf74f01493c1f829a88f80a2a358e733fa9645..694419e6a6c774674ae49ccd4f7e6aedca04cf3c 100755
(executable)
--- a/
heatpump-dimplex-wpm_
+++ b/
heatpump-dimplex-wpm_
@@
-108,7
+108,11
@@
if [ "$ret" -ne 0 ]; then
exit 1
fi
-data=`echo "$xml" | xsltproc paths.xsl -`
+data=`echo "$xml" | xsltproc paths.xsl -`; ret=$?
+if [ "$ret" -ne 0 ]; then
+ echo "Error running xsltproc"
+ exit 2
+fi
#Outdoor temperature
echo 'multigraph heatpump_dimplex_wpm_outtemp'