summaryrefslogtreecommitdiff
path: root/scripts/controllib.pl
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2000-07-05 16:04:47 +0000
committerWichert Akkerman <wakkerma@debian.org>2000-07-05 16:04:47 +0000
commit716d3b66db04b482e2075798dafea7cd464d025f (patch)
tree0e7148e46a7f5fbba280adf5ad224a7672c5987b /scripts/controllib.pl
parentcf6b586bf14e9e9baef94f64e305dad10133bb21 (diff)
downloaddpkg-716d3b66db04b482e2075798dafea7cd464d025f.tar.gz
main/enquiry.c: modify getttywidth() to check COLUMNS environment
scripts/controllib.pl: remove warnings for LOGNAME stuff
Diffstat (limited to 'scripts/controllib.pl')
-rwxr-xr-xscripts/controllib.pl9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/controllib.pl b/scripts/controllib.pl
index f7a308de7..be249b38e 100755
--- a/scripts/controllib.pl
+++ b/scripts/controllib.pl
@@ -51,15 +51,6 @@ if(!defined($getlogin)) {
}
if (defined ($ENV{'LOGNAME'})) {
- if (!defined ($getlogin)) {
- # Hmmm, do we really need this?
- # warn (sprintf ('no utmp entry available, using value of LOGNAME ("%s")', $ENV{'LOGNAME'}));
- } else {
- if ($getlogin ne $ENV{'LOGNAME'}) {
- warn (sprintf ('utmp entry ("%s") does not match value of LOGNAME ("%s"); using "%s"',
- $getlogin, $ENV{'LOGNAME'}, $ENV{'LOGNAME'}));
- }
- }
@fowner = getpwnam ($ENV{'LOGNAME'});
if (! @fowner) { die (sprintf ('unable to get login information for username "%s"', $ENV{'LOGNAME'})); }
} elsif (defined ($getlogin)) {