fix(RESTORE): fix restore path when non-verbose
- non-verbose tar extraction was set to null path
This commit is contained in:
parent
3a3b02685b
commit
876f8eee9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user