Skip to content

Commit 8c3d680

Browse files
committed
update available_space check
1 parent d10d6d5 commit 8c3d680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-host-check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ actions: $actions_disk_size MB
186186
mssql: $mssql_disk_size MB
187187
DATA_TRANSFER_SIZE
188188

189-
if [[ $available_space -lt $min_disk_req ]]; then
189+
if [[ $((available_space / (1024 * 1024))) -lt $min_disk_req ]]; then
190190
echo "There is not enough disk space for the backup. Please allocate more space and continue." 1>&2
191191
exit 1
192192
fi

0 commit comments

Comments
 (0)