From d7807cc49fb9c3c28f417c929b19c65c56ec6cb8 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Thu, 30 Jun 2011 12:21:33 +0200 Subject: Ensure new line is added. --- config/open-vm-tools/open-vm-tools.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/open-vm-tools') diff --git a/config/open-vm-tools/open-vm-tools.inc b/config/open-vm-tools/open-vm-tools.inc index 679eec62..f963d9b7 100644 --- a/config/open-vm-tools/open-vm-tools.inc +++ b/config/open-vm-tools/open-vm-tools.inc @@ -8,7 +8,7 @@ function open_vm_tools_install() { exec("/bin/cp /usr/local/lib/vmware-tools/modules/drivers/*.ko /boot/kernel/"); if(!file_exists("/boot/loader.conf")) touch("/boot/loader.conf"); - $load_conf = file_get_contents("/boot/loader.conf"); + $load_conf = file_get_contents("/boot/loader.conf") . "\n"; if(!strstr($load_conf, "vmxnet")) { $load_conf .= << \ No newline at end of file +?> -- cgit v1.2.3