Skip to content

Commit

Permalink
Send reporting loading msg to STDERR
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Jan 18, 2010
1 parent 0acba27 commit 4cc2382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions squashfu
Expand Up @@ -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
Expand Down

0 comments on commit 4cc2382

Please sign in to comment.