From 876f8eee9ed1ed1bf26c9ec2a143c8795af3c928 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 9 Feb 2021 14:58:50 -0700 Subject: [PATCH] fix(RESTORE): fix restore path when non-verbose - non-verbose tar extraction was set to null path --- backup/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/restore.sh b/backup/restore.sh index b68c67c..1ad67ad 100755 --- 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 -) > /dev/null 2>&1 ); then + if (! (cd "$sourceFiles/_data" && tar -cf - .) | (cd "${2}" && tar xvf -) > /dev/null 2>&1 ); then return 1 else return 0