Changeset 258


Ignore:
Timestamp:
Sep 9, 2017, 10:11:31 AM (7 years ago)
Author:
g7moreau
Message:
  • More standart shell: replace &>/dev/null by > /dev/null 2>&
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r257 r258  
    239239sub fast_ping {
    240240   # Launch this command without waiting...
    241    system "fping -q -c 1 @_ >/dev/null 2>&1 &";
     241   system "fping -q -c 1 @_ > /dev/null 2>&1 &";
    242242   return;
    243243   }
     
    12061206      my $current_net = $computer_not_detected{$one_computer};
    12071207      my $current_interface = get_current_interface($current_net);
    1208       system "arping -c 1 -w 1 -rR -i $current_interface $one_computer &>/dev/null" if get_current_scan_mode($current_net) eq 'active';
    1209 #      print  "arping -c 1 -w 1 -rR -i $current_interface $one_computer 2>/dev/null\n";
     1208      system "arping -c 1 -w 1 -rR -i $current_interface $one_computer > /dev/null 2>&1" if get_current_scan_mode($current_net) eq 'active';
    12101209      }
    12111210   return;
     
    25032502            $resol_arp{ipv4_address} .= '*';
    25042503            # Force a MAC trace on switch
    2505             system "arping -c 1 -w 1 -rR -i $resol_arp_alt{interface} $fake_ip &>/dev/null";
     2504            system "arping -c 1 -w 1 -rR -i $resol_arp_alt{interface} $fake_ip > /dev/null 2>&1";
    25062505            }
    25072506         }
Note: See TracChangeset for help on using the changeset viewer.