* Deal with empty /etc/mailname, Closes: #90727

This commit is contained in:
joey
2001-03-24 22:20:09 +00:00
parent d2d81b61ef
commit 2f4aeceba2
3 changed files with 10 additions and 2 deletions

View File

@@ -556,7 +556,9 @@ sub email {
my $mailname=''; my $mailname='';
if (open (MAILNAME,"</etc/mailname")) { if (open (MAILNAME,"</etc/mailname")) {
$mailname=<MAILNAME>; $mailname=<MAILNAME>;
if (defined $mailname) {
chomp $mailname; chomp $mailname;
}
close MAILNAME; close MAILNAME;
} }
if (!$mailname) { if (!$mailname) {

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
alien (7.21) unstable; urgency=low
* Deal with empty /etc/mailname, Closes: #90727
-- Joey Hess <joeyh@debian.org> Sat, 24 Mar 2001 14:19:17 -0800
alien (7.20) unstable; urgency=low alien (7.20) unstable; urgency=low
* Updated to use debhelper v3 when converting packages. This * Updated to use debhelper v3 when converting packages. This

2
debian/control vendored
View File

@@ -3,7 +3,7 @@ Section: admin
Priority: optional Priority: optional
Build-Depends-Indep: debhelper (>= 3) Build-Depends-Indep: debhelper (>= 3)
Maintainer: Joey Hess <joeyh@debian.org> Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.5.0.0 Standards-Version: 3.5.2.0
Package: alien Package: alien
Architecture: all Architecture: all