mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
scripts/feeds: fix an error message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17451 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cb60c50a40
commit
57efc68581
@ -46,7 +46,7 @@ sub parse_config() {
|
||||
$line[0] =~ /^src-\w+$/ or $valid = 0;
|
||||
$line[1] =~ /^\w+$/ or $valid = 0;
|
||||
@src = split /\s+/, $line[2];
|
||||
$valid or die "Syntax error in feeds.list, line: $line\n";
|
||||
$valid or die "Syntax error in feeds.conf, line: $line\n";
|
||||
|
||||
$name{$line[1]} and die "Duplicate feed name '$line[1]', line: $line\n";
|
||||
$name{$line[1]} = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user