diff --git a/src/slurmd/shm.c b/src/slurmd/shm.c index 32f3cea22c87d953b26a03163b0a1c9881f2577a..47256bb04b255c511558c67c36d35fba4365019c 100644 --- a/src/slurmd/shm.c +++ b/src/slurmd/shm.c @@ -1072,10 +1072,9 @@ _shm_validate(void) continue; /* - * Consider a job step running if the step state is less - * than STARTED or if s->sid has not yet been set. - * If the state is >= STARTED, check for running processes - * by attempting to signal the running session. + * If the state is >= STARTED and there is a container id, + * check for running processes by attempting to signal the + * running container/session. */ if ((s->state >= SLURMD_JOB_STARTED) && (s->cont_id) &&