From 5b71d3655a9bd7b2fee698c5abeb31389a855298 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 28 Jun 2016 00:19:03 +0100 Subject: [PATCH] added reset as goldsource broke terminal on exit --- lgsm/functions/command_debug.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index a0452f6ff..8adb7fb86 100644 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -13,6 +13,8 @@ function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" fn_lockfile_trap(){ # Remove lock file rm -f "${rootdir}/${lockselfname}" + # resets terminal. Servers can sometimes mess up the terminal on exit. + reset core_exit.sh }