We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7edaa9 commit 811deb3Copy full SHA for 811deb3
hooks/pre-exit
@@ -190,7 +190,7 @@ find_and_upload() {
190
191
for index in "${!uploads_in_progress[@]}"; do
192
# Note: kill -0 does not kill the pid, it provides a *nix compatible way to test the pid is responding.
193
- if ! kill -0 "${uploads_in_progress[index]}" > /dev/null; then
+ if ! kill -0 "${uploads_in_progress[index]}" > /dev/null 2>&1; then
194
unset 'uploads_in_progress[index]'
195
elif [[ "$iterations_waited" -gt $TIMEOUT ]]; then
196
echo "Upload '${uploads_in_progress[index]}' has been running for more than '${TIMEOUT}' seconds, killing it"
0 commit comments