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 # If there is no duplicate, uniq will have no output
# So, if $tmpOutput is not null, there is a duplicate # So, if $tmpOutput is not null, there is a duplicate
if [ -n "$tmpOutput" ]; then if [ -n "$tmpOutput" ]; then
failed "IS_DUPLICATE_FS_LABEL" failed "IS_DUPLICATE_FS_LABEL" "Duplicate labels: $tmpOutput"
if [ "$VERBOSE" = 1 ]; then
echo "Duplicate labels:"
echo -e "$tmpOutput\n"
fi
fi fi
rm $tmpFile rm $tmpFile
fi fi