diff options
-rw-r--r-- | perl-install/network/network.pm | 2 |
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 { |