diff --git a/lgsm/functions/core_exit.sh b/lgsm/functions/core_exit.sh index c5b0028dc..27ad162d8 100644 --- a/lgsm/functions/core_exit.sh +++ b/lgsm/functions/core_exit.sh @@ -21,6 +21,7 @@ else exitcode=0 fi -if [ -f ".dev-debug" ]; then +if [ -f "${rootdir}/.dev-debug" ]; then + sleep 0.5 echo "Exiting with code: ${exitcode}" fi \ No newline at end of file