mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
scripts/kconfig.pl: Indicate which file we couldn't open
Signed-off-by: Daniel Colascione <dancol@dancol.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -29,7 +29,7 @@ sub load_config($$) {
|
||||
my $mod_plus = shift;
|
||||
my %config;
|
||||
|
||||
open FILE, "$file" or die "can't open file";
|
||||
open FILE, "$file" or die "can't open file '$file'";
|
||||
while (<FILE>) {
|
||||
chomp;
|
||||
/^$PREFIX(.+?)=(.+)/ and do {
|
||||
|
||||
Reference in New Issue
Block a user