diff --git a/register.sh b/register.sh index d7d680a..02cdc0b 100755 --- a/register.sh +++ b/register.sh @@ -39,8 +39,7 @@ while :;do unset curl_msg err_time=$(date +%Y-%m-%d-%H:%M:%S) [ ! -z "$remote_response" ] && srv_msg="- $( echo $remote_response | grep -o '.*')" - [ -s "$curl_err" ] && curl_msg="- $(> $log - rm $curl_err fi done