]> git.llucax.com Git - software/bacap.git/commitdiff
Fix extra_flags usage
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Thu, 29 Jul 2010 18:40:35 +0000 (15:40 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 29 Jul 2010 22:02:23 +0000 (19:02 -0300)
We need to "clean" extra flags when we start to backup a new host to
make sure we use the correct options for the current host we are backing
up.

Also, we remove some unused variables that were replaced by
extra_flags.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
bacap

diff --git a/bacap b/bacap
index d107b1dadffcfe6c6ddebff21b2da3c594581e2d..42273ab52abe262754e39a236da545793d9c7ded 100755 (executable)
--- a/bacap
+++ b/bacap
@@ -104,8 +104,7 @@ do
        include="$host_path/includes"
        current_link="$host_backup_path/current"
        current_dir="$host_backup_path/`readlink \"$current_link\"`"
        include="$host_path/includes"
        current_link="$host_backup_path/current"
        current_dir="$host_backup_path/`readlink \"$current_link\"`"
-       exclude_flags=
-       include_flags=
+       extra_flags=
        plog "-----------------------------------------------------------------"
        plog "Backup for host $host"
        plog "-----------------------------------------------------------------"
        plog "-----------------------------------------------------------------"
        plog "Backup for host $host"
        plog "-----------------------------------------------------------------"