changed name from set_volumes to get_volumes to more accurately describe what the function does
This commit is contained in:
parent
713fbbb29a
commit
2f71885690
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ calc_smart_volumes() {
|
|||
echo "$smart_size"
|
||||
}
|
||||
|
||||
set_volumes() {
|
||||
get_volumes() {
|
||||
local input_file="$1"
|
||||
local size="${2:-}"
|
||||
local volumes=""
|
||||
|
|
@ -99,7 +99,7 @@ main() {
|
|||
exit 1
|
||||
fi
|
||||
|
||||
volumes="$(set_volumes "$input_file" "$size")"
|
||||
volumes="$(get_volumes "$input_file" "$size")"
|
||||
archive_name="$(generate_name)"
|
||||
|
||||
trap 'cleanup "$archive_name"' ERR INT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue