summaryrefslogtreecommitdiffstats
path: root/perl-install/bootlook.pm
diff options
context:
space:
mode:
authorStefan Siegel <siegel@linux-mandrake.com>2001-08-18 00:10:21 +0000
committerStefan Siegel <siegel@linux-mandrake.com>2001-08-18 00:10:21 +0000
commita9493db8b616de80fd82b0b66562f5d443d9b70f (patch)
tree848bef9c862224a2567b22c1c3c8d9ba77a005bb /perl-install/bootlook.pm
parent254ddbad5d1bb357fad4595897df9eb954f95f7c (diff)
downloaddrakx-a9493db8b616de80fd82b0b66562f5d443d9b70f.tar
drakx-a9493db8b616de80fd82b0b66562f5d443d9b70f.tar.gz
drakx-a9493db8b616de80fd82b0b66562f5d443d9b70f.tar.bz2
drakx-a9493db8b616de80fd82b0b66562f5d443d9b70f.tar.xz
drakx-a9493db8b616de80fd82b0b66562f5d443d9b70f.zip
fixed i18n
Diffstat (limited to 'perl-install/bootlook.pm')
-rw-r--r--perl-install/bootlook.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index a9cac7b0f..6f38455c8 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -222,7 +222,7 @@ sub get_main_menu {
sub isXlaunched
{
my $line;
- open INITTAB, "/etc/inittab" or die _("can not open /etc/inittab for reading: $!");
+ open INITTAB, "/etc/inittab" or die _("can not open /etc/inittab for reading: %s", $!);
while (<INITTAB>) {
if (/id:([1-6]):initdefault:/) { $line = $_; last; }
}
@@ -276,7 +276,7 @@ sub isAutologin
{
my $line;
- open AUTOLOGIN, "/etc/sysconfig/autologin" or die _("can not open /etc/sysconfig/autologin for reading: $!");
+ open AUTOLOGIN, "/etc/sysconfig/autologin" or die _("can not open /etc/sysconfig/autologin for reading: %s", $!);
while (<AUTOLOGIN>) {
if (/AUTOLOGIN=(yes|no)/) { $line = $_; last; }
}