From 7554c4079c75dc12c34a2b77e148971285db18d0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 May 2020 07:20:31 +0200 Subject: lib/common-functions: failsafe_sftp() fix wrong regex - how did this ever work??? --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common-functions') diff --git a/lib/common-functions b/lib/common-functions index 02b8704..110578f 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -873,7 +873,7 @@ failsafe_sftp() { cat > "${temp_dir}/input" sed -n ' s/^rm "\([^"]\+\)"$/- \1/ - s/^ln\( [^"]\S*\)* "\([^"]\+\)" "[^"]\+"$/+ \2/ + s/^ln\( [^"]\S*\)* "[^"]\+" "\([^"]\+\)"$/+ \2/ s/^rename "\([^"]\+\)" "\([^"]\+\)"$/- \1\n+ \2/ T p -- cgit v1.2.3-70-g09d2