We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c1759 commit a65f01cCopy full SHA for a65f01c
main.sh
@@ -298,9 +298,13 @@ fatal() {
298
local -i thisFuncLine=$((LINENO - 1))
299
300
local -a Stack=()
301
+echo "Currently running as: $0 (PID $$)"
302
+echo "Shell name from /proc/$$/exe: $(readlink /proc/$$/exe)"
303
+shopt -o posix # This will output 'posix on' or 'posix off'
304
+set -x # Turn on debugging output for the next line
305
readarray -t Stack < <(get_system_info)
306
Stack+=("")
-
307
+set +x
308
local StackSize=${#FUNCNAME[@]}
309
local -i FrameNumberLength=${#StackSize}
310
local NoFile="<nofile>"
0 commit comments