From 1af3ce47ce655336cdd2351265bc768792fa9624 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 26 Jun 2016 17:59:32 +0100 Subject: [PATCH] added sleep and absolute location of .dev-debug --- lgsm/functions/core_exit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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