From 95a1a2d3b380bea95aae8c351acf534a40ceb7cf Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 27 Jun 2026 20:47:17 +0200 Subject: [PATCH] fix rsh command in array --- src/backup | 2 +- src/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backup b/src/backup index ce58ad2..f34cc8c 100755 --- a/src/backup +++ b/src/backup @@ -151,7 +151,7 @@ backup_remote_pathes() rsyncargs+=("--exclude=$exclude") done fi - rsyncargs+=("--rsh=\"ssh -p $port\"") + rsyncargs+=("--rsh=ssh -p $port") local path= for path in $pathes; do diff --git a/src/restore b/src/restore index d2e46f8..fe3285b 100755 --- a/src/restore +++ b/src/restore @@ -75,7 +75,7 @@ restore() [ "$remote_port" != "null" ] \ || errlog "config.yaml missing port" \ || return $? - rsyncargs+=("--rsh=\"ssh -p $remote_port\"") + rsyncargs+=("--rsh=ssh -p $remote_port") local backup_dir="$date"_"$number"_"$backup_name" -- 2.47.3