diff --git a/restore-volumes.sh b/restore-volumes.sh index d7643052..963939af 100755 --- a/restore-volumes.sh +++ b/restore-volumes.sh @@ -17,8 +17,8 @@ if [ ! -d "$volume_dir" ]; then exit 1 fi -if [[ -v $3 ]]; then - $dir/clone-backup.sh $3 $1 +if [[ -v $2 ]]; then + $dir/clone-backup.sh $2 $1 fi calculate_required_space() {