Add nameavability github name check timeout

This commit is contained in:
bytedream 2022-04-06 08:39:55 +02:00
parent df7c7dc433
commit 6dd7e0084b
6 changed files with 1 additions and 1 deletions

0
globalize.sh Normal file → Executable file
View File

0
hashify-filename/hashify-filename.sh Executable file → Normal file
View File

0
java-beautifier/java-beautifier.py Executable file → Normal file
View File

0
merge-pdf/merge-pdf.sh Executable file → Normal file
View File

View File

@ -26,7 +26,7 @@ main() {
fi
done
github_availability=`curl -o /dev/null -s -w "%{http_code}" https://github.com/$name`
github_availability=`curl --connect-timeout 3 --retry 3 -o /dev/null -s -w "%{http_code}" https://github.com/$name`
if [ "$github_availability" == "200" ]; then
echo -e "\tGitHub: NOT available"
else

0
randomize-filename/randomize-filename.sh Executable file → Normal file
View File