Skip to content

Commit

Permalink
Print more details on error in container_get_cwd
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Abecassis <[email protected]>
  • Loading branch information
flx42 committed Mar 19, 2024
1 parent d1032b3 commit 4f9879f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxis_slurmstepd.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ static int container_get_cwd(pid_t pid, struct container *container)

container->cwd_fd = open(path, O_RDONLY | O_CLOEXEC);
if (container->cwd_fd < 0) {
slurm_error("pyxis: couldn't open cwd fd");
slurm_error("pyxis: couldn't open cwd fd: %s", strerror(errno));
return (-1);
}

Expand Down

0 comments on commit 4f9879f

Please sign in to comment.