From b3244516e07a8106f09fa6f11b15780f75cfa23f Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Tue, 14 Jun 2022 17:07:27 +0200
Subject: [PATCH] Don't really want to see the snapshots, just check the lock
 status

---
 stream8_backups/backup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stream8_backups/backup.sh b/stream8_backups/backup.sh
index abda4b7..b225b71 100755
--- a/stream8_backups/backup.sh
+++ b/stream8_backups/backup.sh
@@ -8,7 +8,7 @@ source common.sh
 EXCLUDE_LIST=`mktemp`
 RESTIC_LOGFILE=`mktemp`
 
-$RESTIC snapshots
+$RESTIC snapshots > /dev/null
 if [[ $? -ne 0 ]]; then
   echo "Lock detected, attempting to unlock" | tee -a $RESTIC_LOGFILE
   $RESTIC unlock 2>&1 | tee -a $RESTIC_LOGFILE
-- 
GitLab