summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_graphs.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-14 12:20:45 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-14 12:20:45 +0200
commit185cee6804b92d51ba1418828a0ab4a7065a9eba (patch)
treed1124307aaa100b08f43ab3521ad2cf12cca8960 /bin/reproducible_html_graphs.sh
parent66190ed74eb342f0fb6991e0465845206efd0c6b (diff)
downloadjenkins.debian.net-185cee6804b92d51ba1418828a0ab4a7065a9eba.tar.xz
fix braino
Diffstat (limited to 'bin/reproducible_html_graphs.sh')
-rwxr-xr-xbin/reproducible_html_graphs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 4b6ecef8..94da97f3 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -337,7 +337,7 @@ create_png_from_table() {
#
write_usertag_table() {
RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT * from ${TABLE[3]} WHERE datum = \"$DATE\"")
- if [ -z "$RESULTS" ] ; then
+ if [ ! -z "$RESULT" ] ; then
COUNT=0
TOPEN=0 ; TDONE=0 ; TTOTAL=0
for FIELD in $(echo ${FIELDS[3]} | tr -d ,) ; do