forked from ungleich-public/cdist
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,7 +45,8 @@ 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")
|
||||||
|
|
||||||
run_or_fail(["cat", script], remote_prefix=remote_prefix)
|
if remote_prefix:
|
||||||
|
run_or_fail(["cat", script], remote_prefix=remote_prefix)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue