aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-25 13:58:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-25 13:58:52 +0000
commita34f8e311f77a5c72864f73623cef70498b3ad2a (patch)
tree94690e6fe841b1d5ab9072eccf23482e18d6b721 /scripts
parentcee55332f864df1ca7c37a9fd5544b1928c8faac (diff)
downloadupstream-a34f8e311f77a5c72864f73623cef70498b3ad2a.tar.gz
upstream-a34f8e311f77a5c72864f73623cef70498b3ad2a.tar.bz2
upstream-a34f8e311f77a5c72864f73623cef70498b3ad2a.zip
fix download.pl (#1257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6200 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-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, $_;