A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do display the output when requested to not take it into account but the child dyied...
[simgrid.git]
/
tools
/
tesh
/
run_context.c
diff --git
a/tools/tesh/run_context.c
b/tools/tesh/run_context.c
index
3f65821
..
966d44a
100644
(file)
--- a/
tools/tesh/run_context.c
+++ b/
tools/tesh/run_context.c
@@
-402,8
+402,11
@@
void *rctx_wait(void* r) {
rctx_free(rctx);
else
rctx_empty(rctx);
- if (errcode)
+ if (errcode) {
+ if (!rctx->check_output)
+ INFO1("Here is the child output:\n%s",rctx->output_got->data);
exit (errcode);
+ }
return NULL;
}