diff options
Diffstat (limited to 'meta/lib/oeqa/controllers/masterimage.py')
-rw-r--r-- | meta/lib/oeqa/controllers/masterimage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py index 0435dfa125..0bf5917e48 100644 --- a/meta/lib/oeqa/controllers/masterimage.py +++ b/meta/lib/oeqa/controllers/masterimage.py | |||
@@ -97,7 +97,7 @@ class MasterImageHardwareTarget(oeqa.targetcontrol.BaseTarget, metaclass=ABCMeta | |||
97 | if self.powercontrol_cmd: | 97 | if self.powercontrol_cmd: |
98 | cmd = "%s %s" % (self.powercontrol_cmd, msg) | 98 | cmd = "%s %s" % (self.powercontrol_cmd, msg) |
99 | try: | 99 | try: |
100 | commands.runCmd(cmd, assert_error=False, preexec_fn=os.setsid, env=self.origenv) | 100 | commands.runCmd(cmd, assert_error=False, start_new_session=True, env=self.origenv) |
101 | except CommandError as e: | 101 | except CommandError as e: |
102 | bb.fatal(str(e)) | 102 | bb.fatal(str(e)) |
103 | 103 | ||