implement PREPARE-FAILURE for Tobias
This commit is contained in:
parent
99413318ef
commit
054e4f17e2
4 changed files with 45 additions and 14 deletions
8
doc/special_remotes/external/example.sh
vendored
8
doc/special_remotes/external/example.sh
vendored
|
@ -112,10 +112,14 @@ while read line; do
|
|||
# Use GETCONFIG to get configuration settings,
|
||||
# and do anything needed to get ready for using the
|
||||
# special remote here.
|
||||
getcreds
|
||||
getconfig directory
|
||||
mydirectory="$RET"
|
||||
getcreds
|
||||
echo PREPARE-SUCCESS
|
||||
if [ -d "$mydirectory" ]; then
|
||||
echo PREPARE-SUCCESS
|
||||
else
|
||||
echo PREPARE-FAILURE "$mydirectory not found"
|
||||
fi
|
||||
;;
|
||||
TRANSFER)
|
||||
key="$3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue