File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ fn_exit_dev_debug() {
13
13
echo -e " ${moduleselfname} exiting with code: ${exitcode} "
14
14
if [ -f " ${rootdir} /dev-debug.log" ]; then
15
15
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
18
fi
17
19
fi
18
20
}
Original file line number Diff line number Diff line change 15
15
16
16
# Debugging
17
17
if [ -f " .dev-debug" ]; then
18
- exec 5> dev-debug.log
18
+ if [ -f /.dockerenv ]; then
19
+ exec 5> /data/log/dev-debug.log
20
+ else
21
+ exec 5> dev-debug.log
22
+ fi
19
23
BASH_XTRACEFD=" 5"
20
24
set -x
21
25
fi
You can’t perform that action at this time.
0 commit comments