[kernel] r15471 - dists/sid/linux-2.6/debian
Ben Hutchings
benh at alioth.debian.org
Fri Apr 2 16:41:11 UTC 2010
Author: benh
Date: Fri Apr 2 16:41:06 2010
New Revision: 15471
Log:
linux-base: Always print the proper error message if we fail to open a file and can't handle it
Modified:
dists/sid/linux-2.6/debian/linux-base.postinst
Modified: dists/sid/linux-2.6/debian/linux-base.postinst
==============================================================================
--- dists/sid/linux-2.6/debian/linux-base.postinst Fri Apr 2 07:54:11 2010 (r15470)
+++ dists/sid/linux-2.6/debian/linux-base.postinst Fri Apr 2 16:41:06 2010 (r15471)
@@ -1041,7 +1041,7 @@
if ($! == POSIX::ENOENT) {
next;
}
- die $!;
+ die "$!";
}
# Are any of the related packages wanted or installed?
@@ -1078,7 +1078,7 @@
installed => $installed};
}
- my $fstab = new FileHandle('/etc/fstab', 'r');
+ my $fstab = new FileHandle('/etc/fstab', 'r') or die "$!";
while (1) {
my ($text, $bdev, $path, $type) = fstab_next($fstab);
last unless defined($text);
More information about the Kernel-svn-changes
mailing list