From fb58c064899595561c6c06745137b3c83a9a0fcd Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 9 Feb 2021 07:13:12 -0700 Subject: [PATCH] fix(RESTORE): fix output to console when non-verbose --- backup/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restore.sh b/backup/restore.sh index d7933a9..b3212d1 100644 --- a/backup/restore.sh +++ b/backup/restore.sh @@ -57,7 +57,7 @@ doRestore() { return 0 fi else - if (! (cd "$sourceFiles/_data" && tar -cf - .) | (cd "${3}" && tar xvf -) ); then + if (! (cd "$sourceFiles/_data" && tar -cf - .) | (cd "${3}" && tar xvf -) > /dev/null 2>&1 ); then return 1 else return 0