custom restic binary

This commit is contained in:
2021-05-06 15:04:35 +02:00
parent 9256cdc38c
commit 88c6949208
4 changed files with 14 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ func CheckConfig() error {
return fmt.Errorf("config could not be loaded/found")
}
if !CheckIfResticIsCallable() {
return fmt.Errorf(`restic was not found. Install either with "autorestic install" or manually`)
return fmt.Errorf(`%s was not found. Install either with "autorestic install" or manually`, RESTIC_BIN)
}
for name, backend := range c.Backends {
backend.name = name