mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-21 23:13:08 +01:00
Changed order of debug export
This commit is contained in:
parent
c2977f499e
commit
65fc05052c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user