From 88ec7cbd31c91a7bb5d96c5f5c721daf481b2c5e Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Mon, 16 Sep 2024 12:54:43 +0200 Subject: [PATCH] fix --- restore-volumes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {