fixed incorrect error message
This commit is contained in:
parent
c04fc46930
commit
ce34554211
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ proc createArchive(nc: NorgConfig, repo: Repository, archivename: string, retry:
|
||||||
let further_args = nc.args.further_args
|
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)
|
let res = run genCreateCommand(repo = archivename, sources = nc.source_directories, stats=nc.args.stats, exc=nc.exclusions, further_args = further_args)
|
||||||
if res != 0:
|
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
|
sleep 15 * 1000 # 15 seconds
|
||||||
if retry == nc.retries:
|
if retry == nc.retries:
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue