summaryrefslogtreecommitdiff
path: root/bin
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-08-30 15:44:00 +0200
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-08-30 18:31:12 +0200
commit1ab2c9892fe5cc72d34471d923f4a0ae92fef7d3 (patch)
tree5eafc4c9ec33b56075f9495fa10e8590b9b7820e /bin
parent3df9f2c940115645116ec9b6bae026b56e146db8 (diff)
make terminal stay on the screen after rebooting
Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pm_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pm_test b/bin/pm_test
index 868b92b..42de2d8 100755
--- a/bin/pm_test
+++ b/bin/pm_test
@@ -202,7 +202,7 @@ class PowerManagementOperation(object):
MessageDialog(title, message).run()
if self.args.checkbox_respawn_cmd:
subprocess.run(
- r'DISPLAY=:0 gnome-terminal -e "bash -c \"source {}\""'.format(
+ r'DISPLAY=:0 gnome-terminal -e "bash -c \"source {}; exec bash\""'.format(
self.args.checkbox_respawn_cmd), shell=True)
def teardown(self):