From 4b35efda162795fe1ddf059ed27059ff1b26ec50 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 1 Jan 2025 02:57:26 +0100 Subject: [PATCH] borg-list-backups.sh: redirect stderr to 'dev/null' for 'borg list' command. --- borg-list-backups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg-list-backups.sh b/borg-list-backups.sh index 99e4dd3..46f763e 100755 --- a/borg-list-backups.sh +++ b/borg-list-backups.sh @@ -282,6 +282,6 @@ while read -r _borg_id _date_weekday _date_date _date_time _time_stamp_borg_bac echo -e " ${_date_weekday} ${_date_date} ${_date_time} [ \033[33m${_borg_id}\033[m ]" -done < <(borg list ${BORG_URL}) +done < <(borg list ${BORG_URL} 2> /dev/null) clean_up 0