]> oss.titaniummirror.com Git - ovzbpc.git/blobdiff - bpcdump
bpcdump: ouput end date with more description
[ovzbpc.git] / 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"