mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-27 16:58:27 +00:00
Fix error in isUpdateCancelRequested
This commit is contained in:
parent
26407a5530
commit
dc6497d181
@ -1272,7 +1272,7 @@ printWarnMessage(){
|
|||||||
isUpdateCancelRequested(){
|
isUpdateCancelRequested(){
|
||||||
if [ -n "$chatCommandRestartCancel" ]; then
|
if [ -n "$chatCommandRestartCancel" ]; then
|
||||||
local canceltime="$(
|
local canceltime="$(
|
||||||
find ~/ARK/server1/ShooterGame/Saved/Logs -name 'ServerGame.*.log' -mmin -5 -print0 |
|
find "${arkserverrroot}/ShooterGame/Saved/Logs" -name 'ServerGame.*.log' -mmin -5 -print0 |
|
||||||
xargs -0 grep -F -e "${chatCommandRestartCancel}" |
|
xargs -0 grep -F -e "${chatCommandRestartCancel}" |
|
||||||
sed 's@^[[]\(....\)\.\(..\)\.\(..\)-\(..\)\.\(..\)\.\(..\):.*@\1-\2-\3 \4:\5:\6 UTC@' |
|
sed 's@^[[]\(....\)\.\(..\)\.\(..\)-\(..\)\.\(..\)\.\(..\):.*@\1-\2-\3 \4:\5:\6 UTC@' |
|
||||||
head -n1)"
|
head -n1)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user