Already installed message to stdout not stderr

This commit is contained in:
2021-02-14 18:22:38 +01:00
parent a4e453ee22
commit a485904c88

View File

@@ -113,8 +113,8 @@ step_22() {
local isInstalled=$(grep -E "${latestVersion}" "${ELEMENT_WEB_LOC}/version" >>/dev/null && echo "1" || echo "0")
if [ $isInstalled -eq 1 ] ; then
echoerr " [E] Version $latestVersion is already installed"
return 2
echo " [I] Version $latestVersion is already installed"
return 0
fi
# Download