move VERBOSE block to log comment

This commit is contained in:
Jérémy Lecour 2019-03-22 00:31:11 +01:00
parent 419ecbc10f
commit e525141ae4

View file

@ -1017,11 +1017,7 @@ if is_debian; then
# If there is no duplicate, uniq will have no output
# So, if $tmpOutput is not null, there is a duplicate
if [ -n "$tmpOutput" ]; then
failed "IS_DUPLICATE_FS_LABEL"
if [ "$VERBOSE" = 1 ]; then
echo "Duplicate labels:"
echo -e "$tmpOutput\n"
fi
failed "IS_DUPLICATE_FS_LABEL" "Duplicate labels: $tmpOutput"
fi
rm $tmpFile
fi