cat only locally :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
278c379e07
commit
eea6a38f33
1 changed files with 2 additions and 1 deletions
|
@ -45,6 +45,7 @@ def shell_run_or_debug_fail(script, *args, remote_prefix=False, **kargs):
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
log.error("Code that raised the error:\n")
|
log.error("Code that raised the error:\n")
|
||||||
|
|
||||||
|
if remote_prefix:
|
||||||
run_or_fail(["cat", script], remote_prefix=remote_prefix)
|
run_or_fail(["cat", script], remote_prefix=remote_prefix)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue