diff options
Diffstat (limited to 'src/profile/proteanos.sh')
-rw-r--r-- | src/profile/proteanos.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 6991937..fbf0124 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -99,7 +99,7 @@ prof_proteanos_select_mirror() 'http://files.proteanos.com/pub/proteanos-mirrors-http')" mirrors_count=$(printf '%s\n' "${mirrors}" | wc -l) rand - mirror_num=$(($rand_x % $mirrors_count + 1)) + mirror_num=$((${rand_x} % ${mirrors_count} + 1)) printf '%s\n' "${mirrors}" | sed -n "${mirror_num}p" } |