remove error handling for mkdir, it's unlikely to fail and the script would exit on error due to set -e anyway

This commit is contained in:
sometimesuseful 2024-11-13 15:19:24 +00:00
parent 0ec24ecaf2
commit 42bf72e127

View file

@ -88,7 +88,7 @@ main() {
check_dependencies "7z"
check_input "$input_file" "$password" "$size"
mkdir -p "$archive_dir" || { log "ERROR" "Unable to create archive directory"; exit 1; }
mkdir -p "$archive_dir"
volumes="$(get_volumes "$input_file" "$size")"
archive_name="$(generate_name)"