summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-04-30 15:53:34 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-04-30 15:53:34 -0700
commit7fcc1ed190b63b194015a60f3a9fe71a63319c9f (patch)
tree5359f490dac5c80a0884a0e93d3802bcbc26f18b
parentmirmon-wrapper.sh: always shift old args (diff)
downloadgentoo-mirrorstats-7fcc1ed190b63b194015a60f3a9fe71a63319c9f.tar.gz
gentoo-mirrorstats-7fcc1ed190b63b194015a60f3a9fe71a63319c9f.tar.bz2
gentoo-mirrorstats-7fcc1ed190b63b194015a60f3a9fe71a63319c9f.zip
probe-mirmon: fix typo
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xprobe-mirmon2
1 files changed, 1 insertions, 1 deletions
diff --git a/probe-mirmon b/probe-mirmon
index 5d99cda..cd97274 100755
--- a/probe-mirmon
+++ b/probe-mirmon
@@ -56,7 +56,7 @@ sub handle_libcurl {
exit 800 unless ($retcode == 0);
my $response_code = $curl->getinfo(CURLINFO_HTTP_CODE);
- exit 801 unless ($response_code == 200)
+ exit 801 unless ($response_code == 200);
exit 802 unless defined($response_body);
chomp $response_body;
print(munge_date($response_body), "\n");