Fixed errors that broke compile.

Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: Madison Kelly <mkelly@alteeve.com>
main
Madison Kelly 7 months ago
parent 4b82c5f2bf
commit cb6346f468
  1. 6
      Anvil/Tools.pm
  2. 2
      Anvil/Tools/Network.pm

@ -236,10 +236,10 @@ sub new
$anvil->catch_sig({signal => "TERM"});
};
$SIG{ALARM} = sub {
$on_sig_term->({ debug => $debug }) if (ref($on_sig_alarm) eq "CODE");
$SIG{ALRM} = sub {
$on_sig_alarm->({ debug => $debug }) if (ref($on_sig_alarm) eq "CODE");
$anvil->catch_sig({signal => "ALARM"});
$anvil->catch_sig({signal => "ALRM"});
};
# This sets the environment this program is running in.

@ -4294,7 +4294,7 @@ sub ping
}
else
{
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, secure => $secure, key => "log_0853", variables => {
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 2, key => "log_0853", variables => {
shell_call => $shell_call,
timeout => $timeout,
target => $target,

Loading…
Cancel
Save