Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: /
Date: Thu, 30 Apr 2020 22:56:42
Message-Id: 1588287214.7fcc1ed190b63b194015a60f3a9fe71a63319c9f.robbat2@gentoo
1 commit: 7fcc1ed190b63b194015a60f3a9fe71a63319c9f
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 22:53:34 2020 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 22:53:34 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=7fcc1ed1
7
8 probe-mirmon: fix typo
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 probe-mirmon | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/probe-mirmon b/probe-mirmon
16 index 5d99cda..cd97274 100755
17 --- a/probe-mirmon
18 +++ b/probe-mirmon
19 @@ -56,7 +56,7 @@ sub handle_libcurl {
20 exit 800 unless ($retcode == 0);
21
22 my $response_code = $curl->getinfo(CURLINFO_HTTP_CODE);
23 - exit 801 unless ($response_code == 200)
24 + exit 801 unless ($response_code == 200);
25 exit 802 unless defined($response_body);
26 chomp $response_body;
27 print(munge_date($response_body), "\n");