summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-02-07 19:15:57 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-02-07 19:15:57 +0000
commit6c2a9b7e3473d1138bb32ece5f026927441b0b79 (patch)
treea01edb158096f3355e4f6810818f60837fe3cac9
parentda78a6db28f70671ded8b057034b5a25a213af34 (diff)
downloaddrakx-6c2a9b7e3473d1138bb32ece5f026927441b0b79.tar
drakx-6c2a9b7e3473d1138bb32ece5f026927441b0b79.tar.gz
drakx-6c2a9b7e3473d1138bb32ece5f026927441b0b79.tar.bz2
drakx-6c2a9b7e3473d1138bb32ece5f026927441b0b79.tar.xz
drakx-6c2a9b7e3473d1138bb32ece5f026927441b0b79.zip
*** empty log message ***
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index aa43b4214..44b984c09 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -77,7 +77,7 @@ sub write_conf {
sub write_zeroconf {
my ($file, $zhostname) = @_;
- substInFile { s/^(hostname) =.*/$1 = $zhostname/ } $file;
+ eval { substInFile { s/^(hostname) =.*/$1 = $zhostname/ } $file };
}
sub write_resolv_conf {