]> oss.titaniummirror.com Git - ovzbpc.git/commitdiff
bpcdump: ouput end date with more description
authorR. Steve McKown <rsmckown@gmail.com>
Fri, 18 Jan 2013 01:15:37 +0000 (18:15 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Fri, 18 Jan 2013 01:15:37 +0000 (18:15 -0700)
bpcdump

diff --git a/bpcdump b/bpcdump
index 254038a2a48ccbffd6fc358e546af1f08e7b3553..0563e13c99035693d33867f7c53511394ed8a2d3 100755 (executable)
--- a/bpcdump
+++ b/bpcdump
@@ -70,12 +70,12 @@ cleanup()
     [ -z "$msg" ] && msg=undef
     restartve
     if [ "$ret" = "0" ]; then
-       info "$(date)"
+       info "Backup completed on $(date)"
        info "cleanup message: $msg"
        info "exit $ret"
        touch "$EXTVEIDFS/good"
     else
-       error "$(date)"
+       error "Backup TERMINATED on $(date)"
        error "cleanup message: $msg"
        error "exit $ret"
        touch "$EXTVEIDFS/bad"