[Debian-l10n-commits] [SCM] Debian i18n - l10n development - dl10n robots branch, master, updated. 46405b47ba75f53324b789476dce0ed27dccab23

Simon Paillard spaillard at debian.org
Sun Jun 17 13:57:09 UTC 2012


The following commit has been merged in the master branch:
commit 0efaa22a3da75436d3164554b43c3f4cc9932c52
Author: Simon Paillard <spaillard at debian.org>
Date:   Sun Jun 17 13:01:20 2012 +0000

    dl10n-nmu: die if database open fails

diff --git a/dl10n-nmu b/dl10n-nmu
index 1055779..f53a42c 100755
--- a/dl10n-nmu
+++ b/dl10n-nmu
@@ -68,7 +68,7 @@ GetOptions(%opthash)
 
 print "Read the database...";
 my $data = Debian::L10n::Db->new();
-$data->read($DB_FILE);
+$data->read($DB_FILE) or die "Can't read $DB_FILE";
 print " done.\n";
 
 my $packages = {};

-- 
Debian i18n - l10n development - dl10n robots



More information about the Debian-l10n-commits mailing list