]> oss.titaniummirror.com Git - ovzbpc.git/blobdiff - bpcdump
bpcdump: Improve info message when freeing space on the esata device.
[ovzbpc.git] / 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