mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-15 12:08:26 +00:00
Fix error in isUpdateCancelRequested
This commit is contained in:
parent
26407a5530
commit
dc6497d181
@ -1272,7 +1272,7 @@ printWarnMessage(){
|
||||
isUpdateCancelRequested(){
|
||||
if [ -n "$chatCommandRestartCancel" ]; then
|
||||
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}" |
|
||||
sed 's@^[[]\(....\)\.\(..\)\.\(..\)-\(..\)\.\(..\)\.\(..\):.*@\1-\2-\3 \4:\5:\6 UTC@' |
|
||||
head -n1)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user