Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 26, 2024
1 parent 4172225 commit 0655f2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -914,15 +914,14 @@ detect_bits_of_cut_b_timeout()
while test "$((_sec_limit = _sec_limit - 1))" -ge 0; do
sleep 1
if kill 2> /dev/null -0 "${_pid}"; then
echo 1>&2 'Still running'
: # Still running
else
wait "${_pid}" || return "${?}"
return '0'
fi
done

1>&2 kill -9 "${_pid}"
1>&2 echo $?
kill 2> /dev/null -9 "${_pid}" || :
return 124
}

Expand Down

0 comments on commit 0655f2d

Please sign in to comment.