From e525141ae4448338d094033465a88bf7e52f4c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Fri, 22 Mar 2019 00:31:11 +0100 Subject: [PATCH] move VERBOSE block to log comment --- evocheck.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/evocheck.sh b/evocheck.sh index 89d5798..b6f3a13 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -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