Skip to content
Permalink
Browse files

fix(ts3server): ts3 version detection when server was started with 'l…

…ogappend=1' #2584 (#2585)
  • Loading branch information
tam1m authored and dgibbs64 committed Nov 14, 2019
1 parent c99fb69 commit ccab1fa2a5038c1c939ea397a7a7180c1d0e605f
Showing with 2 additions and 2 deletions.
  1. +2 −2 lgsm/functions/update_ts3.sh
@@ -68,7 +68,7 @@ fn_update_ts3_localbuild(){
fi

if [ -z "${localbuild}" ]; then
localbuild=$(cat $(find ./* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1) | grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}")
localbuild=$(cat $(find ./* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1) | grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | tail -1)
fi

if [ -z "${localbuild}" ]; then
@@ -81,7 +81,7 @@ fn_update_ts3_localbuild(){
loopignore=1
fn_script_log_info "Waiting for local build to generate"
fi
localbuild=$(cat $(find ./* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1) | grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}")
localbuild=$(cat $(find ./* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1) | grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | tail -1)
if [ "${localbuild}" ]; then
break
fi

0 comments on commit ccab1fa

Please sign in to comment.
You can’t perform that action at this time.