Changes in / [33a568a:14e4d7e]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/functions.sh

    raac00e0 raf7bd01  
    237237  # We have a replication task for this dataset, lets check if we need to do it now 
    238238  LDATA="$1" 
    239   TIME=`echo $repLine | cut -d ':' -f 2` 
     239  REPTIME=`echo $repLine | cut -d ':' -f 2` 
    240240 
    241241  # Export the replication variables we will be using 
     
    255255 
    256256  # If we are checking for a sync task, and the rep isn't marked as sync we can return 
    257   if [ "$2" = "sync" -a "$TIME" != "sync" ] ; then return 0; fi 
     257  if [ "$2" = "sync" -a "$REPTIME" != "sync" ] ; then return 0; fi 
    258258 
    259259  # Is this a sync-task we do at the time of a snapshot? 
    260   if [ "$2" = "sync" -a "$TIME" = "sync" ] ; then 
     260  if [ "$2" = "sync" -a "$REPTIME" = "sync" ] ; then 
    261261     export DIDREP=1 
    262262     echo_log "Starting replication SYNC task on ${DATASET}: ${REPLOGSEND}" 
Note: See TracChangeset for help on using the changeset viewer.