Unverified Commit 754cb118 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Reduce spare disk space threshold (#933)

parent 0ac61a10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ addDisk () {

  if [[ "${DISK_SPACE,,}" == "max" || "${DISK_SPACE,,}" == "half" ]]; then

    local SPARE=2147483648
    local SPARE=1073741824
    FREE=$(df --output=avail -B 1 "$DIR" | tail -n 1)

    if [[ "${DISK_SPACE,,}" == "max" ]]; then