disable block2mtd page readahead (patch from #1058)
[openwrt.git] / scripts / download.pl
index 5134009..280e5f0 100755 (executable)
@@ -23,7 +23,7 @@ my $ok;
 sub localmirrors {
 
     my @mlist;
-    open LM, "$scriptdir/localmirrors" or return "";
+    open LM, "$scriptdir/localmirrors" or return ();
     while (<LM>) {
         chomp $_;
         push @mlist, $_;