summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
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