From: Daniel Hokka Zakrisson Date: Sat, 28 Nov 2009 04:49:12 +0000 (+0000) Subject: Use utils.sysexec. X-Git-Tag: BootManager-4.3-15~2 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=8565e92aa528970527325a47a30e49cbec0214e1 Use utils.sysexec. --- diff --git a/source/steps/StartDebug.py b/source/steps/StartDebug.py index 73420ed..1c39009 100644 --- a/source/steps/StartDebug.py +++ b/source/steps/StartDebug.py @@ -73,7 +73,7 @@ def Run( vars, log, last_resort = True): # pre-sshd pre_sshd_script= os.path.join(ssh_source_files, "pre-sshd") if os.path.exists(pre_sshd_script): - os.spawnv(os.P_WAIT, pre_sshd_script, [pre_sshd_script]) + utils.sysexec_noerr( pre_sshd_script, log ) # create host keys if needed if not os.path.isdir (ssh_dir):