blob: aed0b08c24747a8aeba856f555fb256b9e1a49cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -ur a/src/slurmd/slurmstepd/mgr.c b/src/slurmd/slurmstepd/mgr.c
--- a/src/slurmd/slurmstepd/mgr.c 2024-12-26 20:13:31.150372710 +0000
+++ b/src/slurmd/slurmstepd/mgr.c 2024-12-26 20:14:46.092417904 +0000
@@ -1340,6 +1340,11 @@
return SLURM_ERROR;
}
+
+#ifndef W_EXITCODE
+#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
+#endif
+
static int _spawn_job_container(stepd_step_rec_t *step)
{
jobacctinfo_t *jobacct = NULL;
|