Skip to content

Commit

Permalink
timestamp is a command and not a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
klightspeed committed Apr 14, 2023
1 parent ef8f332 commit d24c2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/arkmanager
Original file line number Diff line number Diff line change
Expand Up @@ -1398,8 +1398,8 @@ doRun() {
fi
elif [ "$pid" == "$(pgrep --pgroup $serverpid)" ]; then
restartserver=1
echo "${timestamp}: Server has double-forked and cannot be effectively monitored"
echo "${timestamp}: Restarting server"
echo "$(timestamp): Server has double-forked and cannot be effectively monitored"
echo "$(timestamp): Restarting server"
notify "${notifyMsgDoubleForked:-Server has daemonized itself - restarting}"
for (( i = 0; i < 5; i++ )); do
if ! kill -0 "-$serverpid"; then
Expand Down

0 comments on commit d24c2f9

Please sign in to comment.