Permalink
Browse files

Fix up the title of the replication e-mail

  • Loading branch information...
1 parent 69265de commit af7bd019723f2ce48276fae3d447d782b4fcbefa @kmoore134 kmoore134 committed Aug 22, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src-sh/lpreserver/backend/functions.sh
@@ -236,7 +236,7 @@ check_rep_task() {
# We have a replication task for this dataset, lets check if we need to do it now
LDATA="$1"
- TIME=`echo $repLine | cut -d ':' -f 2`
+ REPTIME=`echo $repLine | cut -d ':' -f 2`
# Export the replication variables we will be using
export REPHOST=`echo $repLine | cut -d ':' -f 3`
@@ -254,10 +254,10 @@ check_rep_task() {
fi
# If we are checking for a sync task, and the rep isn't marked as sync we can return
- if [ "$2" = "sync" -a "$TIME" != "sync" ] ; then return 0; fi
+ if [ "$2" = "sync" -a "$REPTIME" != "sync" ] ; then return 0; fi
# Is this a sync-task we do at the time of a snapshot?
- if [ "$2" = "sync" -a "$TIME" = "sync" ] ; then
+ if [ "$2" = "sync" -a "$REPTIME" = "sync" ] ; then
export DIDREP=1
echo_log "Starting replication SYNC task on ${DATASET}: ${REPLOGSEND}"
queue_msg "`date`: Starting replication SYNC task on ${DATASET}\n"

0 comments on commit af7bd01

Please sign in to comment.