Merge pull request #2020 from Security-Onion-Solutions/bugfix/pre-whiptail-message

[fix] Remove echo redirect at beginning of install
This commit is contained in:
William Wernert
2020-11-20 10:15:24 -05:00
committed by GitHub

View File

@@ -709,7 +709,8 @@ detect_os() {
exit 1 exit 1
fi fi
echo "Installing required packages to run installer..." >> "$setup_log" 2>&1 # Print message to stdout so the user knows setup is doing something
echo "Installing required packages to run installer..."
# Install bind-utils so the host command exists # Install bind-utils so the host command exists
if [[ ! $is_iso ]]; then if [[ ! $is_iso ]]; then
if ! command -v host > /dev/null 2>&1; then if ! command -v host > /dev/null 2>&1; then
@@ -743,6 +744,7 @@ detect_os() {
exit 1 exit 1
fi fi
# Print message to stdout so the user knows setup is doing something
echo "Installing required packages to run installer..." echo "Installing required packages to run installer..."
# Install network manager so we can do interface stuff # Install network manager so we can do interface stuff
if ! command -v nmcli > /dev/null 2>&1; then if ! command -v nmcli > /dev/null 2>&1; then