aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-17 20:31:23 -0500
committerDave Reisner <d@falconindy.com>2010-01-17 20:31:23 -0500
commit4cc2382b8adbf4659ead37769dc0210b8f628109 (patch)
treeff8e0d966580ac054fd119de231309019cced65a /squashfu
parent0acba27e549951ee2e4fbbd41eb80438be1e5928 (diff)
downloadsquashfu-4cc2382b8adbf4659ead37769dc0210b8f628109.tar.gz
Send reporting loading msg to STDERR
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files changed, 2 insertions, 2 deletions
diff --git a/squashfu b/squashfu
index ed419d8..7cd93b8 100755
--- a/squashfu
+++ b/squashfu
@@ -320,9 +320,9 @@ action_report () {
OLDIFS=$IFS;IFS=${IFS}:
# Collect all data into an array to 'preload' it. Index 0 is the entire
# folder. The following indicies correspond to the bin number of that index
- printf "%30s\r" " .: Loading :."
+ printf "%30s\r" " .: Loading :." >&2
DATA=($(du -sh ${BINS_DIR} ${BINS_DIR}/* 2>/dev/null | awk '{print $1}'))
- printf "%30s\r" " "
+ printf "%30s\r" " " >&2
printf "%10s\t%25s\t%7s\n" "Bin ID" "Date Created" "Size"
grep -vE "^[\t ]*$" "$BINVENTORY" | sort -r -t: -k2 -n | while read bin stamp; do