From 6eb3333af497a167bb368708a8152c61b23ef5b7 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 14 Sep 2020 19:46:16 -0400 Subject: [PATCH] Disk Space Check Final --- salt/common/tools/sbin/soup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index df8703e83..d95974958 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -189,7 +189,7 @@ rc2_to_rc3() { space_check() { # Check to see if there is enough space CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}') - if [ "$CURRENTSPACE" -lt "1000" ]; then + if [ "$CURRENTSPACE" -lt "10" ]; then read -rsn1 -p"You are low on disk space. Upgrade will try and clean up space. Press any key to continue or Ctrl+c to exit"; clean_dockers else