From 185cee6804b92d51ba1418828a0ab4a7065a9eba Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 14 May 2015 12:20:45 +0200 Subject: fix braino --- bin/reproducible_html_graphs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2