forked from Mirror/pmbootstrap
Revert "Removed debugging code"
This reverts commit c15bf48f77
.
I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.
This commit is contained in:
parent
7d6365b473
commit
1b6f1d86ef
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def _execute(loop, args, cmd, log_message, log, return_stdout, check=True):
|
||||||
transport.close()
|
transport.close()
|
||||||
|
|
||||||
return_code = transport.get_returncode()
|
return_code = transport.get_returncode()
|
||||||
if return_code != 0:
|
if return_code != 0 and False:
|
||||||
if check:
|
if check:
|
||||||
raise RuntimeError("Command failed: \n" + protocol.error)
|
raise RuntimeError("Command failed: \n" + protocol.error)
|
||||||
args.logfd.write('Program exited with: {}\n'.format(transport.get_returncode()))
|
args.logfd.write('Program exited with: {}\n'.format(transport.get_returncode()))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue