From b88d120feab60d74ee8d40baa2eaf1538f68737c Mon Sep 17 00:00:00 2001
From: tmueller <tmueller@cl.uni-heidelberg.de>
Date: Sat, 27 Feb 2021 23:35:13 +0100
Subject: [PATCH] switching to tail to show only the last log entires to keep
 the terminal tidy

---
 papermc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/papermc.sh b/papermc.sh
index f5ebf44..10bcc57 100644
--- a/papermc.sh
+++ b/papermc.sh
@@ -49,7 +49,7 @@ while true
 		screen -S mc -X select . ; SCRUN=$?
 		if [ ${SCRUN} = 0 ]
 			then
-				cat /papermc/logs/latest.log
+				tail /papermc/logs/latest.log
 				trap exec_stop TERM INT
 				sleep 10
 			else
-- 
GitLab