summaryrefslogtreecommitdiff
path: root/scripts/download.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/download.pl')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 51340097d8..280e5f0d73 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -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, $_;