another <case> converted to sysread
This commit is contained in:
@@ -123,7 +123,8 @@ sub startsf {
|
|||||||
print STDERR "$cmd\n" if($verbose);
|
print STDERR "$cmd\n" if($verbose);
|
||||||
|
|
||||||
print SFWRITE "PING\n";
|
print SFWRITE "PING\n";
|
||||||
my $pong = <SFREAD>;
|
my $pong;
|
||||||
|
sysread SFREAD, $pong, 5;
|
||||||
|
|
||||||
if($pong !~ /^PONG/) {
|
if($pong !~ /^PONG/) {
|
||||||
logmsg "Failed sockfilt command: $cmd\n";
|
logmsg "Failed sockfilt command: $cmd\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user