From fc54978ecb94d0803d88485477dee7ffea567a8f Mon Sep 17 00:00:00 2001
From: Nikos Skalkotos <skalkoto@grnet.gr>
Date: Sat, 24 Mar 2012 10:50:03 +0200
Subject: [PATCH] Add a new line the end of the acpid action script

---
 image_creator/os_type/linux.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/image_creator/os_type/linux.py b/image_creator/os_type/linux.py
index 130fbc8..f22eb06 100644
--- a/image_creator/os_type/linux.py
+++ b/image_creator/os_type/linux.py
@@ -67,7 +67,7 @@ class Linux(Unix):
             print 'Fixing acpid powerdown action'
 
         powerbtn_action = '#!/bin/sh\n\nPATH=/sbin:/bin:/usr/bin\n' \
-                                'shutdown -h now \"Power button pressed\"'
+                                'shutdown -h now \"Power button pressed\"\n'
 
         events_dir = '/etc/acpi/events'
         if not self.g.is_dir(events_dir):
-- 
GitLab