Fis syntax error in error message.

This commit is contained in:
Peter Ajamian 2021-12-19 00:38:25 +13:00
parent a9fdfc7694
commit 4706d0aa7e

View File

@ -283,7 +283,7 @@ pre_check () {
for mount in "${!mount_space_map[@]}"; do
(( avail = mount_avail_map[$mount]*95/100 ))
if (( avail < mount_space_map[$mount] )); then
errs+=("Not enough space in $mount, $mount_space_map[$mount]M required, ${avail}M available.")
errs+=("Not enough space in $mount, ${mount_space_map[$mount]}M required, ${avail}M available.")
fi
done