|
|
@@ -23,7 +23,7 @@ fn_monitor_check_lockfile(){
|
|
|
fn_monitor_check_update(){
|
|
|
# Monitor will not check if update is running.
|
|
|
updatecheck=$(ps -ef|grep "${selfname} update"|grep -v grep|wc -l)
|
|
|
- if [ "${updatecheck}" >= "0" ]; then
|
|
|
+ if [ "${updatecheck}" != "0" ]; then
|
|
|
fn_print_info_nl "SteamCMD is currently checking for updates"
|
|
|
fn_scriptlog "SteamCMD is currently checking for updates"
|
|
|
sleep 1
|
|
|
@@ -70,7 +70,7 @@ fn_monitor_tmux(){
|
|
|
# checks that tmux session is running
|
|
|
tmuxwc=$(tmux list-sessions 2>&1|awk '{print $1}'|grep -Ec "^${servicename}:")
|
|
|
if [ "${tmuxwc}" == "1" ]; then
|
|
|
- fn_print_ok "Checking session: OK"
|
|
|
+ fn_print_ok "Checking session"
|
|
|
fn_print_ok_eol_nl
|
|
|
fn_scriptlog "Checking session: OK"
|
|
|
# runs gsquery check on game with specific engines.
|