remove cd before running so-setup analyst

This commit is contained in:
m0duspwnens
2022-04-14 16:03:43 -04:00
parent 2d094a3bfc
commit 36aef87a3c
2 changed files with 1 additions and 2 deletions

View File

@@ -351,7 +351,6 @@ elif [ "$install_type" = 'RECEIVER' ]; then
is_minion=true is_minion=true
is_receiver=true is_receiver=true
elif [ "$install_type" = 'ANALYST' ]; then elif [ "$install_type" = 'ANALYST' ]; then
cd .. || exit 255
exec bash so-setup analyst exec bash so-setup analyst
fi fi

View File

@@ -937,7 +937,7 @@ whiptail_install_type_other() {
if [[ $setup_type == 'network' ]]; then if [[ $setup_type == 'network' ]]; then
install_type=$(whiptail --title "$whiptail_title" --radiolist \ install_type=$(whiptail --title "$whiptail_title" --radiolist \
"Choose distributed node type:" 9 65 2 \ "Choose distributed node type:" 9 65 2 \
"ANALYST" "Quit setup and run so-analyst-install " ON \ "ANALYST" "Setup will exit and run 'so-setup analyst' " ON \
"HELIXSENSOR" "Create a Helix sensor " OFF \ "HELIXSENSOR" "Create a Helix sensor " OFF \
3>&1 1>&2 2>&3 3>&1 1>&2 2>&3
) )