summaryrefslogtreecommitdiffstats
path: root/tools/check_diskspace
diff options
context:
space:
mode:
authorOle Kristian Lien <ole.k.lien@gmail.com>2009-12-16 06:46:51 +0000
committerOle Kristian Lien <ole.k.lien@gmail.com>2009-12-16 06:46:51 +0000
commitcebfad21252cb4884df416dbcf7bda844ba4de11 (patch)
tree37242c715579dd471229245c42bf7fdc60279df8 /tools/check_diskspace
parentd7ffd2160ced7c1dc812fb3a76e876191bd5a3f1 (diff)
diverse...
Diffstat (limited to 'tools/check_diskspace')
-rw-r--r--tools/check_diskspace4
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