diff --git a/salt/common/tools/sbin/so-analyst-install b/salt/common/tools/sbin/so-analyst-install index 62692e81f..1f4649653 100755 --- a/salt/common/tools/sbin/so-analyst-install +++ b/salt/common/tools/sbin/so-analyst-install @@ -21,7 +21,7 @@ if [ "$(id -u)" -ne 0 ]; then fi INSTALL_LOG=/root/so-analyst-install.log -exec 3>&1 1>${INSTALL_LOG} 2>&1 +exec &> >(tee -a "$INSTALL_LOG") OS=$(grep PRETTY_NAME /etc/os-release | grep 'CentOS Linux 7') if [ $? -ne 0 ]; then