Browse Source

added sleep and absolute location of .dev-debug

Daniel Gibbs 10 năm trước cách đây
mục cha
commit
1af3ce47ce
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      lgsm/functions/core_exit.sh

+ 2 - 1
lgsm/functions/core_exit.sh

@@ -21,6 +21,7 @@ else
 	exitcode=0
 	exitcode=0
 fi
 fi
 
 
-if [ -f ".dev-debug" ]; then
+if [ -f "${rootdir}/.dev-debug" ]; then
+	sleep 0.5
 	echo "Exiting with code: ${exitcode}"
 	echo "Exiting with code: ${exitcode}"
 fi
 fi