Skip to content

Commit 9611a82

Browse files
committed
avoid dangling process after exit
1 parent 8361e19 commit 9611a82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

call_host.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ apptainer(){
140140
if [ -z "$APPTAINER_CONTAINER" ]; then
141141
pkill -P "$LISTENER"
142142
rm -f "$APPTAINERENV_HOSTPIPE" "$APPTAINERENV_CONTPIPE" "$APPTAINERENV_EXITPIPE"
143+
kill "$LISTENER"
143144
fi
144145
)
145146
fi

0 commit comments

Comments
 (0)