commit:     7fcc1ed190b63b194015a60f3a9fe71a63319c9f
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 30 22:53:34 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 30 22:53:34 2020 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=7fcc1ed1

probe-mirmon: fix typo

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 probe-mirmon | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");

Reply via email to