Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
F
filefox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alynna Trypnotk
filefox
Commits
09d9c607
Commit
09d9c607
authored
Sep 16, 2018
by
Alynna Trypnotk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'rsync confirmation' routine improper name for destination variable
parent
ec5920c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
filefox
filefox
+6
-4
No files found.
filefox
View file @
09d9c607
...
@@ -215,8 +215,10 @@ echo ">>> Socket options: BLOCKSIZE=$BLOCKSIZE; BUFSIZE=$BUF; SPEEDLIMIT=$LIMI
...
@@ -215,8 +215,10 @@ echo ">>> Socket options: BLOCKSIZE=$BLOCKSIZE; BUFSIZE=$BUF; SPEEDLIMIT=$LIMI
read
-p
">>>>>> Press a key to continue, Ctrl-C to abort, or wait 5 seconds"
-t
5
-n
1
read
-p
">>>>>> Press a key to continue, Ctrl-C to abort, or wait 5 seconds"
-t
5
-n
1
if
[
"
$PK
"
=
"0"
]
||
[
"
$PK
"
=
""
]
;
then
if
[
"
$PK
"
=
"0"
]
||
[
"
$PK
"
=
""
]
;
then
echo
""
if
[
"
$SSHPASS
"
=
""
]
;
then
read
-s
-p
">>> SSH Password authentication selected, please enter password: "
SSHPASS
echo
""
read
-s
-p
">>> SSH Password authentication selected, please enter password: "
SSHPASS
fi
export
SSHPASS
export
SSHPASS
echo
""
echo
""
fi
fi
...
@@ -238,9 +240,9 @@ datapipe-local
...
@@ -238,9 +240,9 @@ datapipe-local
if
[
"
$VERIFY
"
=
"1"
]
;
then
if
[
"
$VERIFY
"
=
"1"
]
;
then
echo
">>> Begin transfer verification check ..."
echo
">>> Begin transfer verification check ..."
if
[
"
$PK
"
=
"0"
]
||
[
"
$PK
"
=
""
]
;
then
if
[
"
$PK
"
=
"0"
]
||
[
"
$PK
"
=
""
]
;
then
rsync
-avu
--progress
--rsh
=
"sshpass -e ssh"
$SRC
/
$USERHOST
:
$D
E
ST
/
rsync
-avu
--progress
--rsh
=
"sshpass -e ssh"
$SRC
/
$USERHOST
:
$DST
/
else
else
rsync
-avu
--progress
--rsh
=
ssh
$SRC
/
$USERHOST
:
$D
E
ST
/
rsync
-avu
--progress
--rsh
=
ssh
$SRC
/
$USERHOST
:
$DST
/
fi
fi
fi
fi
finish-up
finish-up
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment