From 44e091ad7b20e082c2475a8ee75245dc4ee4273f Mon Sep 17 00:00:00 2001 From: codehelp Date: Sat, 25 Dec 2010 11:01:32 +0000 Subject: [PATCH] Fail if the config file cannot be sensibly parsed as an keyfile - i18n fix. git-svn-id: http://emdebian.org/svn/current@7704 563faec7-e20c-0410-992a-a66f704d0ccd --- multistrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multistrap b/multistrap index e21c8a8..de3b045 100755 --- a/multistrap +++ b/multistrap @@ -831,7 +831,7 @@ sub cascade { $file = shift; $config = Config::Auto::parse($file, format => 'ini'); if (not defined $config or (scalar keys %$config) == 0) { - die ("$progname: ". _g("Failed to parse '$file'!\n")); + die ("$progname: ". sprintf(_g("Failed to parse '%s'!\n"), $file)); } foreach $key (%$config) { $type = lc($key) if (ref $key ne "HASH");