Revision 58 bin/zfs-replica

zfs-replica (revision 58)
169 169
            $(echo $line|sed -e "s:lastsnapshotreplicated=.*$:lastsnapshotreplicated=$snapshot2replicate:g" >$FILE_NAME)
170 170
            cpt=1
171 171
         else
172
            $(echo $line|sed -e "s:lastsnapshotreplicated=.*$:astsnapshotreplicated=$snapshot2replicate:g" >>$FILE_NAME)
172
            $(echo $line|sed -e "s:lastsnapshotreplicated=.*$:lastsnapshotreplicated=$snapshot2replicate:g" >>$FILE_NAME)
173 173
         fi 
174 174
       done <<< "$(cat $FILE_NAME)"
175 175
       del_old_snapshot

Also available in: Unified diff