echo needs to be there only once

This commit is contained in:
Jérémy Lecour 2019-01-30 18:06:28 +01:00 committed by Jérémy Lecour
parent fd5b9cd86c
commit f3b5e8f9b7

View file

@ -863,11 +863,10 @@ if [ -e /etc/debian_version ]; then
| grep UNKNOWN)
# There is at least one dir matching
if [[ -n "$statResult" ]]; then
echo 'IS_OLD_HOME_DIR FAILED!'
if [[ "$VERBOSE" == 1 ]]; then
echo 'IS_OLD_HOME_DIR FAILED!'
echo "$statResult"
else
echo 'IS_OLD_HOME_DIR FAILED!'
break
fi
fi