mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
don't use -i when checking for our own server
This commit is contained in:
parent
fe065dc851
commit
135394f511
@ -372,7 +372,7 @@ sub runhttpserver {
|
|||||||
my $verified;
|
my $verified;
|
||||||
for(1 .. 10) {
|
for(1 .. 10) {
|
||||||
# verify that our server is up and running:
|
# verify that our server is up and running:
|
||||||
my $data=`$CURL --silent -i $HOSTIP:$HOSTPORT/verifiedserver 2>/dev/null`;
|
my $data=`$CURL --silent $HOSTIP:$HOSTPORT/verifiedserver 2>/dev/null`;
|
||||||
|
|
||||||
if ( $data =~ /WE ROOLZ: (\d+)/ ) {
|
if ( $data =~ /WE ROOLZ: (\d+)/ ) {
|
||||||
$pid = 0+$1;
|
$pid = 0+$1;
|
||||||
|
Loading…
Reference in New Issue
Block a user