doing a collection status and file list need to eval the command (like all the other commands already do) because if you have ssh options set in your config, it causes an error ("duplicity: error: no such option: -o")
This commit is contained in:
parent
18c7f40a7f
commit
83b7ecdbe0
1 changed files with 3 additions and 0 deletions
|
|
@ -702,6 +702,7 @@ case "$COMMAND" in
|
|||
STATIC_OPTIONS="$STATIC_OPTIONS --time $TIME"
|
||||
fi
|
||||
|
||||
eval \
|
||||
${DUPLICITY} ${OPTION} ${VERBOSITY} ${STATIC_OPTIONS} \
|
||||
$ENCRYPT \
|
||||
${DEST} | tee -a ${LOGFILE}
|
||||
|
|
@ -710,6 +711,8 @@ case "$COMMAND" in
|
|||
|
||||
"collection-status")
|
||||
OPTION="collection-status"
|
||||
|
||||
eval \
|
||||
${DUPLICITY} ${OPTION} ${VERBOSITY} ${STATIC_OPTIONS} \
|
||||
$ENCRYPT \
|
||||
${DEST} | tee -a ${LOGFILE}
|
||||
|
|
|
|||
Loading…
Reference in a new issue