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 }