From 31d0feef47c7b55d06f94722bae9d1423bb6e895 Mon Sep 17 00:00:00 2001
From: Daniel Gibbs <me@danielgibbs.co.uk>
Date: Fri, 3 Feb 2023 23:56:12 +0000
Subject: [PATCH] remove execs

---
 entrypoint-user.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/entrypoint-user.sh b/entrypoint-user.sh
index 757a7f8..dad8529 100755
--- a/entrypoint-user.sh
+++ b/entrypoint-user.sh
@@ -26,12 +26,12 @@ if [ -z "$(ls -A -- "serverfiles" 2> /dev/null)" ]; then
   install=1
 else
   # Donate to display logo
-  exec ./${GAMESERVER} donate
+  ./${GAMESERVER} donate
 fi
 echo -e ""
 echo -e "Starting Update Checks"
 echo -e "================================="
-nohup watch -n "${UPDATE_CHECK}" exec ./${GAMESERVER} update > /dev/null 2>&1 &
+nohup watch -n "${UPDATE_CHECK}" ./${GAMESERVER} update > /dev/null 2>&1 &
 echo -e "update will check every ${UPDATE_CHECK} minutes"
 
 # Update game server