mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
Fix RCON authentication failed test
This commit is contained in:
parent
461729259c
commit
2bc099f1a3
BIN
tools/.arkmanager.swp
Normal file
BIN
tools/.arkmanager.swp
Normal file
Binary file not shown.
@ -394,7 +394,7 @@ rconcmd() {
|
||||
my $reqid = 1;
|
||||
sendpkt($sock, $reqid, 3, $password);
|
||||
my ($resid, $restype, $rcvbody) = recvpkt($sock);
|
||||
die "Authentication failed" if $resid == -1;
|
||||
die "Authentication failed" if $resid == -1 or $resid == 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
my $port = $ARGV[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user