From cebfad21252cb4884df416dbcf7bda844ba4de11 Mon Sep 17 00:00:00 2001 From: Ole Kristian Lien Date: Wed, 16 Dec 2009 06:46:51 +0000 Subject: diverse... --- tools/check_diskspace | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/check_diskspace') 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 -- cgit v1.2.3