fix a small bug in the config merge/split (fixes buildbot error on ixp4xx)
[openwrt/svn-archive/archive.git] / scripts / download.pl
index 51340097d8c97819229bda1c112ffe9251a131ae..280e5f0d732625f6f69a18d318271943bb08df11 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, $_;