diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-11-26 17:02:19 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-11-26 17:02:19 +0000 |
commit | ae033688fe90cf0c5a53000a33926c0bafe794f0 (patch) | |
tree | 78eef1a131a99426e40658e7f39d189acd9c541a | |
parent | 1119bb58d2fd54464cdffb4d3ebb0c78cdc979bc (diff) | |
download | definitions-ae033688fe90cf0c5a53000a33926c0bafe794f0.tar.gz |
Use os.execl to be able to do things later like exec /sbin/init
-rwxr-xr-x | installer/installer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installer.py b/installer/installer.py index cfca5bb6..7e1033b8 100755 --- a/installer/installer.py +++ b/installer/installer.py @@ -60,7 +60,7 @@ class BaserockInstaller(): except BaseException, e: print "Something failed, opening shell..." print "Once you have finished, use `reboot -f`" - os.system('/bin/sh') + os.execl('/bin/sh', 'sh') def validate_install_values(self, disk_dest, rootfs): if not self.deploying_to_device(disk_dest): |