Skip to content

Commit

Permalink
add force stop
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Nov 5, 2024
1 parent 8587caa commit 602e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/dgoss/dgoss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cleanup() {
{ kill "$log_pid" && wait "$log_pid"; } 2> /dev/null
if [ -n "$CONTAINER_LOG_OUTPUT" ]; then
info "Stopping container and copy log"
$CONTAINER_RUNTIME stop "$id" > /dev/null
$CONTAINER_RUNTIME stop -t 1 "$id" > /dev/null
cp "$tmp_dir/docker_output.log" "$CONTAINER_LOG_OUTPUT"
fi
rm -rf "$tmp_dir"
Expand Down

0 comments on commit 602e691

Please sign in to comment.