anchor.diff:  
         if [ -x '/var/opt/opscode/keepalived/bin/custom_backend_ip' ]; then
             log_me "Attempting CUSTOM BACKEND IP primary takeover"
  -          output=`/var/opt/opscode/keepalived/bin/custom_backend_ip attach` || error_exit "CUSTOM BACKEND IP attach failed: ${output}"
  -          log_me "CUSTOM BACKEND IP primary attach SUCCESS: ${output}"
  +          /var/opt/opscode/keepalived/bin/custom_backend_ip attach >> $LOGNAME 2>&1
  +          if [ $? -gt 0 ]; then
  +            error_exit "CUSTOM BACKEND IP attach failed"
  +          else
  +            log_me "CUSTOM BACKEND IP attach success"
  +          fi
         fi
   
         ;;
  
positive.code:   case "$1" in
      master)
        if [ -x '/var/opt/opscode/keepalived/bin/custom_backend_storage' ]; then
            log_me "Attempting CUSTOM BACKEND primary takeover"
            output=`/var/opt/opscode/keepalived/bin/custom_backend_storage attach` || error_exit "CUSTOM BACKEND attach failed: ${output}"
            log_me "CUSTOM BACKEND primary attach SUCCESS: ${output}"
        else
          # 10 * SVWAIT
          try=300
  
negative.code: <%- end -%>
  
        if [ -x '/var/opt/opscode/keepalived/bin/custom_backend_storage' ]; then
            log_me "Attempting CUSTOM BACKEND STORAGE detach"
            /var/opt/opscode/keepalived/bin/custom_backend_storage detach >> $LOGNAME 2>&1
            if [ $? -gt 0 ]; then
              error_exit "CUSTOM BACKEND STORAGE detach failed"
            else
              log_me "CUSTOM BACKEND STORAGE detach success"
            fi
        else
          # 10 * SVWAIT
          try=300
  