Skip to content

Commit 9ef5aa8

Browse files
authored
fix(typo): exit_code prints empty (#379)
1 parent eba4c7f commit 9ef5aa8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

nemo_run/core/execution/templates/slurm.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ while ! $all_done; do
7373
# Process is no longer running => check its exit status.
7474
wait "$pid"
7575
exitcode=$?
76-
echo "Process $pid exited with code $exit_code at $(date '+%Y-%m-%d %H:%M:%S')"
76+
echo "Process $pid exited with code $exitcode at $(date '+%Y-%m-%d %H:%M:%S')"
7777
# Wait a bit (to get a clean stack trace in case there is one being generated), then kill the
7878
# remaining processes if needed.
7979
sleep {{monitor_group_job_wait_time}}

test/core/execution/artifacts/ft_het_slurm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ while ! $all_done; do
105105
# Process is no longer running => check its exit status.
106106
wait "$pid"
107107
exitcode=$?
108-
echo "Process $pid exited with code $exit_code at $(date '+%Y-%m-%d %H:%M:%S')"
108+
echo "Process $pid exited with code $exitcode at $(date '+%Y-%m-%d %H:%M:%S')"
109109
# Wait a bit (to get a clean stack trace in case there is one being generated), then kill the
110110
# remaining processes if needed.
111111
sleep 60

test/core/execution/artifacts/group_resource_req_slurm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ while ! $all_done; do
6565
# Process is no longer running => check its exit status.
6666
wait "$pid"
6767
exitcode=$?
68-
echo "Process $pid exited with code $exit_code at $(date '+%Y-%m-%d %H:%M:%S')"
68+
echo "Process $pid exited with code $exitcode at $(date '+%Y-%m-%d %H:%M:%S')"
6969
# Wait a bit (to get a clean stack trace in case there is one being generated), then kill the
7070
# remaining processes if needed.
7171
sleep 60

test/core/execution/artifacts/group_slurm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ while ! $all_done; do
5858
# Process is no longer running => check its exit status.
5959
wait "$pid"
6060
exitcode=$?
61-
echo "Process $pid exited with code $exit_code at $(date '+%Y-%m-%d %H:%M:%S')"
61+
echo "Process $pid exited with code $exitcode at $(date '+%Y-%m-%d %H:%M:%S')"
6262
# Wait a bit (to get a clean stack trace in case there is one being generated), then kill the
6363
# remaining processes if needed.
6464
sleep 60

test/core/execution/artifacts/het_slurm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ while ! $all_done; do
8080
# Process is no longer running => check its exit status.
8181
wait "$pid"
8282
exitcode=$?
83-
echo "Process $pid exited with code $exit_code at $(date '+%Y-%m-%d %H:%M:%S')"
83+
echo "Process $pid exited with code $exitcode at $(date '+%Y-%m-%d %H:%M:%S')"
8484
# Wait a bit (to get a clean stack trace in case there is one being generated), then kill the
8585
# remaining processes if needed.
8686
sleep 60

0 commit comments

Comments
 (0)