]> oss.titaniummirror.com Git - ovzbpc.git/commitdiff
bpcdump: Improve info message when freeing space on the esata device.
authorsmckown <smckown@986fd584-583e-0410-b54d-b9fe63dff8e5>
Fri, 16 Oct 2009 13:51:41 +0000 (13:51 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Wed, 16 Dec 2009 17:23:08 +0000 (10:23 -0700)
bpcdump

diff --git a/bpcdump b/bpcdump
index 9806ee87ab2a38cc451124d8ef7075d2f48999f4..19644aca579300bc0a2be3df5cd4568fccbef14e 100755 (executable)
--- a/bpcdump
+++ b/bpcdump
@@ -149,7 +149,7 @@ fi
 # Before we begin writing, remove old backup dirs until we have room
 dstblks=$(df -P "$EXTFS" | grep "$EXTFS" | awk '{ print $4 }')
 while [ $dstblks -le $srcblks ]; do
-    info "Not enough space on $EXTFS"
+    info "Only $dstblks free on $EXTFS"
     oldest=$(cd $EXTFS && eval ls -ltd "ve${VEID}*" 2>/dev/null | tail -1 | \
        awk '{ print $8 }')
     if [ -d "$EXTFS/$oldest" ]; then