From 2f7188569021baac2831abe93662bb7ca0c8433f Mon Sep 17 00:00:00 2001 From: sometimesuseful <> Date: Wed, 13 Nov 2024 02:19:51 +0000 Subject: [PATCH] changed name from set_volumes to get_volumes to more accurately describe what the function does --- modules/archive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/archive.sh b/modules/archive.sh index 7ddf1a6..756f752 100755 --- a/modules/archive.sh +++ b/modules/archive.sh @@ -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