From d2fd71d5c96c229fb9949cd402ac871060c040c9 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Mon, 7 Feb 2022 23:55:46 +0100 Subject: [PATCH] Suppress output when used with -qq --- seqs/backup.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/seqs/backup.sh b/seqs/backup.sh index 2394322..105c466 100755 --- a/seqs/backup.sh +++ b/seqs/backup.sh @@ -26,7 +26,8 @@ step_config() { } step_1_info() { - echo "Backup root [ADDITIONAL_EXCLUDES...]" + echoinfoArgs "[ADDITIONAL_EXCLUDES...]" + echo "Backup root" echoinfo "Essential excludes are provided in the configuration template." echoinfo "($CONFIG_FILE_TEMPLATE)" } @@ -140,9 +141,9 @@ step_3() { buExcludes+=("--exclude='$exclu'") done - echo " [I] Source : $buSource" - echo " [I] Target : $buTarget" - echo " [I] Excludes: $@" + echoseq " [I] Source : $buSource" + echoseq " [I] Target : $buTarget" + echoseq " [I] Excludes: $@" #fix doubling trailing slash on verbose output when backing up root local tmpSource="$buSource/" @@ -187,6 +188,6 @@ checkInstalled() { toolBin="$(command -v $toolBin)" } -VERSION_SEQREV=12 +VERSION_SEQREV=14 . /usr/local/bin/sequencer.sh