diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2014-11-07 14:36:25 -0200 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2014-11-07 14:36:25 -0200 | 
| commit | 89860aa3f6dc3e0ad4eb263c382d37a92746b68d (patch) | |
| tree | 9506e1a48542a2967c2f0e3225c87dba14751ce8 | |
| parent | c649339ba41b4bc748598ca13c4363e25f6eba1f (diff) | |
| download | backupninja-89860aa3f6dc3e0ad4eb263c382d37a92746b68d.tar.gz backupninja-89860aa3f6dc3e0ad4eb263c382d37a92746b68d.tar.bz2  | |
Rsync: check test mode also in prepare_storage (#8196)
| -rw-r--r-- | handlers/rsync.in | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in index 000f3ea..ee2b733 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -747,6 +747,10 @@ function move_files {  function prepare_storage { +  if [ "$test" ]; then +    return +  fi +    section="`basename $SECTION`"    if [ "$format" == "short" ]; then  | 
