aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xstats.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats.pl b/stats.pl
index 20fee9c..e36c9cb 100755
--- a/stats.pl
+++ b/stats.pl
@@ -35,7 +35,7 @@ my $group_info = {};
my @group_names = ();
my $content = get($score_url);
-if (!defined($content)) {
+if (!defined($content) || !$content || length $content < 1) {
print STDERR "Could not fetch scoreboard!";
exit 1
}