mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:59:03 -08:00
fix bug
This commit is contained in:
parent
c953c670f7
commit
28d87b4616
1 changed files with 1 additions and 1 deletions
2
sh/asn
2
sh/asn
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue