Changed order of debug export

This commit is contained in:
Matthew McClaskey 2023-12-04 20:47:37 +00:00
parent c2977f499e
commit 65fc05052c

View File

@ -322,6 +322,12 @@ if [[ $1 =~ -h|--help ]]; then
exit 0
fi
if [[ ${KASM_DEBUG:-0} == 1 ]]; then
echo -e "\n\n------------------ DEBUG KASM STARTUP -----------------"
export DEBUG=true
set -x
fi
# Syncronize user-space loaded persistent profiles
pull_profile
@ -330,12 +336,6 @@ if [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc
fi
if [[ ${KASM_DEBUG:-0} == 1 ]]; then
echo -e "\n\n------------------ DEBUG KASM STARTUP -----------------"
export DEBUG=true
set -x
fi
## resolve_vnc_connection
VNC_IP=$(hostname -i)
if [[ $DEBUG == true ]]; then