Skip to content

Commit

Permalink
Fix for SNP-670: error mesage correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Upendra Sahu committed Jul 2, 2020
1 parent 53aecee commit ea9fca7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ configure_logrotate_flb()
{
echo "Configure logrotate fluent-bit started"
if [ "$ID" = "debian" ] || [ "$ID" = "ubuntu" ]; then
apt install -y logrotate &>/dev/null
apt install -qy logrotate &>/dev/null
fi

if [ "$ID" = "centos" ]; then
Expand All @@ -42,7 +42,7 @@ install_fluent_bit()
echo " "
echo "Install fluent-bit started "
if [ "$ID" = "debian" ] || [ "$ID" = "ubuntu" ]; then
apt-get install -y wget curl
apt-get install -y -q wget curl
fi
if [ "$ID" = "centos" ]; then
yum install -y wget curl
Expand Down Expand Up @@ -151,9 +151,9 @@ check_jcmd_installation()
echo " "
echo "Checking jcmd installation"
if ! [ -x "$(command -v jcmd)" ]; then
echo "Error: jcmd is not installed. It is Needed for service discovery"
echo "Warning: jcmd is not installed. Java applications will not be detected automatically"
else
echo "jcmd installed"
echo "jcmd is installed"
fi
}

Expand Down

0 comments on commit ea9fca7

Please sign in to comment.