fix(RESTORE): fix output to console when non-verbose

This commit is contained in:
Asif Bacchus 2021-02-09 07:13:12 -07:00
parent 010ab1dceb
commit fb58c06489
1 changed files with 1 additions and 1 deletions

View File

@ -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