Revision fc54978e

b/image_creator/os_type/linux.py
67 67
            print 'Fixing acpid powerdown action'
68 68

  
69 69
        powerbtn_action = '#!/bin/sh\n\nPATH=/sbin:/bin:/usr/bin\n' \
70
                                'shutdown -h now \"Power button pressed\"'
70
                                'shutdown -h now \"Power button pressed\"\n'
71 71

  
72 72
        events_dir = '/etc/acpi/events'
73 73
        if not self.g.is_dir(events_dir):

Also available in: Unified diff