adam2flash: fix 'Interrupted system call' error when flashing (closes: #4490, thanks...
[openwrt/openwrt.git] / scripts / flashing / adam2flash-502T.pl
index 0ed296d60f1e86b246ee4ac715d220616ccaa763..0c4c9d7d5a3689d4062a10b19972697642762171 100644 (file)
@@ -143,6 +143,8 @@ while($scanning) {
 
 $box or die " not found!\n";
 
+alarm(0);
+
 {
        package ADAM2FTP;
        use base qw(Net::FTP);