Added more date information

This commit is contained in:
Nico Schottelius 2006-04-29 00:30:02 +02:00
parent 3dd22f69c1
commit d327a1bf64
2 changed files with 4 additions and 5 deletions

View File

@ -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."

View File

@ -36,7 +36,6 @@ All other backups are still secure.
Incompatibilities
~~~~~~~~~~~~~~~~~
Versions < 0.4 and 0.4
^^^^^^^^^^^^^^^^^^^^^^