diff --git a/src/lib/source.sh b/src/lib/source.sh index d1c39ea..007b555 100644 --- a/src/lib/source.sh +++ b/src/lib/source.sh @@ -37,7 +37,7 @@ validate_sources() { } validate_targets() { - # Check targets array and set local_target variable. + # Check targets array and set __main_target variable. # # Usage: validate_targets ARRAY @@ -65,9 +65,9 @@ validate_targets() { "You must provide one or more targets with 'file' scheme." >&2 exit 1 else - # Set local_target. This variable contains path to save local backups. + # Set __main_target. This variable contains path to save local backups. # Files to additional targets will be coped from this directory. - local_target="${file_targets[0]}" + __main_target="${file_targets[0]}" fi }