fixed incorrect error message

This commit is contained in:
Paul Wilde 2024-11-25 11:14:50 +00:00
parent c04fc46930
commit ce34554211

View file

@ -20,7 +20,7 @@ proc createArchive(nc: NorgConfig, repo: Repository, archivename: string, retry:
let further_args = nc.args.further_args
let res = run genCreateCommand(repo = archivename, sources = nc.source_directories, stats=nc.args.stats, exc=nc.exclusions, further_args = further_args)
if res != 0:
info "Failed to run Restic. Waiting 15 seconds and trying again"
info "Failed to run Borg. Waiting 15 seconds and trying again"
sleep 15 * 1000 # 15 seconds
if retry == nc.retries:
return 1