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:
parent
0ec24ecaf2
commit
42bf72e127
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ main() {
|
||||||
check_dependencies "7z"
|
check_dependencies "7z"
|
||||||
check_input "$input_file" "$password" "$size"
|
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")"
|
volumes="$(get_volumes "$input_file" "$size")"
|
||||||
archive_name="$(generate_name)"
|
archive_name="$(generate_name)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue