diff options
Diffstat (limited to 'tools/check_diskspace')
-rw-r--r-- | tools/check_diskspace | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/check_diskspace b/tools/check_diskspace index 7b7031c..d30f5e5 100644 --- a/tools/check_diskspace +++ b/tools/check_diskspace @@ -1,6 +1,6 @@ #!/bin/bash # -# Date: 2009-12-04 +# Date: 2009-12-16 # Author: Ole Kristian Lien # License: GNU General Public License # @@ -14,6 +14,8 @@ if [ -z "$1" ]; then exit 1 fi +echo "Checking for enough disk space to continue..." + if [ $DISK -le $FILE ]; then echo "Error: Not enough disk space to continue! Aborting." exit 1 |