Oops error message was not valid (still using : rather than |)
This commit is contained in:
parent
90c6cf1d29
commit
83a6eae4bc
|
@ -5,7 +5,7 @@ my $line = <>;
|
||||||
my $nb = int(rand(42));
|
my $nb = int(rand(42));
|
||||||
|
|
||||||
if ($nb % 2 == 0) {
|
if ($nb % 2 == 0) {
|
||||||
print "Error message here::\n";
|
print "Error message here||\n";
|
||||||
} else {
|
} else {
|
||||||
print "Ok|127.0.0.1:4242|localhost:4242\n";
|
print "Ok|127.0.0.1:4242|localhost:4242\n";
|
||||||
my ($action,$login,$pass,$uid) = split /|/, $line;
|
my ($action,$login,$pass,$uid) = split /|/, $line;
|
||||||
|
|
Loading…
Reference in New Issue