diff --git a/ccollect.sh b/ccollect.sh index 803f354..f78ae0c 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -405,7 +405,7 @@ while [ "$i" -lt "$no_shares" ]; do minutes=$(echo $seconds / 60 | bc) seconds=$(echo "$seconds - ($minutes * 60)" | bc) - echo "Backup lasted: ${hours}:$minutes:$seconds (h:m:s)" + echo "Backup lasted: ${hours}:${minutes}:${seconds} (h:m:s)" ) | add_name done @@ -414,7 +414,7 @@ done # Be a good parent and wait for our children, if they are running wild parallel # if [ "$PARALLEL" ]; then - echo "Waiting for child jobs to complete..." + echo "$(date) Waiting for child jobs to complete..." wait fi @@ -422,9 +422,9 @@ fi # Look for post-exec command (general) # if [ -x "$CPOSTEXEC" ]; then - echo "Executing $CPOSTEXEC ..." + echo "$(date) Executing $CPOSTEXEC ..." "$CPOSTEXEC" - echo "Finished ${CPOSTEXEC}." + echo "$(date) Finished ${CPOSTEXEC}." if [ $? -ne 0 ]; then echo "$CPOSTEXEC failed." diff --git a/doc/ccollect.text b/doc/ccollect.text index 574054d..50d28d2 100644 --- a/doc/ccollect.text +++ b/doc/ccollect.text @@ -36,7 +36,6 @@ All other backups are still secure. Incompatibilities ~~~~~~~~~~~~~~~~~ - Versions < 0.4 and 0.4 ^^^^^^^^^^^^^^^^^^^^^^