Skip to content

Commit 2fd56eb

Browse files
committed
fix(core_exit): correct log file path for dev-debug module order
1 parent c90c8fe commit 2fd56eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lgsm/modules/core_exit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ fn_exit_dev_debug() {
1313
echo -e "${moduleselfname} exiting with code: ${exitcode}"
1414
if [ -f "${rootdir}/dev-debug.log" ]; then
1515
grep -a "modulefile=" "${rootdir}/dev-debug.log" | sed 's/modulefile=//g' > "${rootdir}/dev-debug-module-order.log"
16-
elif [ -f "${lgsmlogdir}/dev-debug.log" ]; then
17-
grep -a "modulefile=" "${lgsmlogdir}/dev-debug.log" | sed 's/modulefile=//g' > "${rootdir}/dev-debug-module-order.log"
16+
elif [ -f "${logdir}/dev-debug.log" ]; then
17+
grep -a "modulefile=" "${logdir}/dev-debug.log" | sed 's/modulefile=//g' > "${logdir}/dev-debug-module-order.log"
1818
fi
1919
fi
2020
}

linuxgsm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
3232
selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")
3333
lgsmdir="${rootdir}/lgsm"
3434
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
35-
lgsmlogdir="${logdir}/lgsm"
35+
lgsmlogdir="${logdir}/script"
3636
steamcmddir="${HOME}/.steam/steamcmd"
3737
[ -n "${LGSM_SERVERFILES}" ] && serverfiles="${LGSM_SERVERFILES}" || serverfiles="${rootdir}/serverfiles"
3838
modulesdir="${lgsmdir}/modules"

0 commit comments

Comments
 (0)