summaryrefslogtreecommitdiffstats
path: root/lib/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/network.pm')
-rw-r--r--lib/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index b2efee5..0c46bc0 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -108,7 +108,7 @@ sub write_network_conf {
$net->{network}{NETWORKING} = 'yes';
setVarsInSh($::prefix . $network_file, $net->{network}, qw(HOSTNAME NETWORKING GATEWAY GATEWAYDEV NISDOMAIN FORWARD_IPV4 NETWORKING_IPV6 IPV6_DEFAULTDEV CRDA_DOMAIN));
- output($::prefix . $hostname_file, $net->{network}{HOSTNAME} || "localhost");
+ output($::prefix . $hostname_file, ($net->{network}{HOSTNAME} || "localhost") . "\n");
}
sub write_zeroconf {