mirror of https://github.com/mikaku/Monitorix.git
small cosmetic change
This commit is contained in:
parent
28673f1bb9
commit
2b578d626d
|
@ -856,7 +856,7 @@ while(1) {
|
||||||
my $ua = LWP::UserAgent->new(timeout => 30);
|
my $ua = LWP::UserAgent->new(timeout => 30);
|
||||||
my $response = $ua->request(HTTP::Request->new('GET', $url));
|
my $response = $ua->request(HTTP::Request->new('GET', $url));
|
||||||
if(!$response->is_success) {
|
if(!$response->is_success) {
|
||||||
logger("WARNING: unable to connect to HTTP built-in server '$url'.");
|
logger("WARNING: HTTP built-in server not responding at '$url'.");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
Loading…
Reference in New Issue