From: Rodrigo Campos Date: Thu, 29 Jul 2010 18:40:35 +0000 (-0300) Subject: Fix extra_flags usage X-Git-Url: https://git.llucax.com/software/bacap.git/commitdiff_plain/c2ca8f108021a3eea9102152ae1ea7cc940773c0?ds=sidebyside;hp=c568aad9f659812a95c433c2ca6c8c8bb5ef331e Fix extra_flags usage 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 --- diff --git a/bacap b/bacap index d107b1d..42273ab 100755 --- 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\"`" - exclude_flags= - include_flags= + extra_flags= plog "-----------------------------------------------------------------" plog "Backup for host $host" plog "-----------------------------------------------------------------"