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