Skip to content

Commit

Permalink
fix: recreate does not require additional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mengelmann committed Nov 11, 2024
1 parent 79e7813 commit 0d93e76
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions borg-backup
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ if [[ "${COMMAND}" == "extract" && $# -lt 1 ]]; then
die 2
fi

if [[ "${COMMAND}" == "recreate" && $# -lt 1 ]]; then
usage
die 2
fi

# Defaults
BORG_ARCHIVE_NAME="${BORG_ARCHIVE_NAME:-{now:%Y-%m-%dT%H:%M:%S}}"
if [[ ! -v BORG_OPTIONS_CREATE ]]; then
Expand Down

0 comments on commit 0d93e76

Please sign in to comment.