Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Reload Shell config after go install fix

six2dez48ba5d4590da
diff --git a/install.sh b/install.sh
index 3bbbeda..20bbef0 100755
--- a/install.sh
+++ b/install.sh
@@ -78,7 +78,8 @@ export GOPATH=\$HOME/go
export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH
EOF
fi
-exec $SHELL -l &>/dev/null
+printf "${yellow} Golang installed, please close this terminal and reload again this script {reset}"
+exit
fi
[ -n "$GOPATH" ] || { printf "${bred} GOPATH env var not detected, add Golang env vars to your \$HOME/.bashrc or \$HOME/.zshrc:\n\n export GOROOT=/usr/local/go\n export GOPATH=\$HOME/go\n export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH\n\n"; exit 1; }