1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 02:59:03 -08:00
This commit is contained in:
Connor Olding 2024-08-06 21:07:05 -07:00
parent c953c670f7
commit 28d87b4616

2
sh/asn
View file

@ -70,7 +70,7 @@ __asn() {
if [ $? = 1 ]; then
printf '%-7s | %-16s | %s\n' "n/a" "$1" "n/a"
elif [ "$attempt" -lt 2 ]; then
sleep 4 && asn "$1" $((attempt+1))
sleep 4 && __asn "$1" $((attempt+1))
else
printf '%-7s | %-16s | %s\n' "(fail)" "$1" "(failed to retrieve data, try again)"
fi