mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-06 18:40:40 +00:00
current state
This commit is contained in:
@@ -45,6 +45,9 @@ func GetPathRelativeToConfig(p string) (string, error) {
|
||||
}
|
||||
|
||||
func (c *Config) CheckConfig() error {
|
||||
if !CheckIfResticIsCallable() {
|
||||
return fmt.Errorf(`restic was not found. Install either with "autorestic install" or manually`)
|
||||
}
|
||||
found := map[string]bool{}
|
||||
for _, backend := range c.Backends {
|
||||
if err := backend.validate(); err != nil {
|
||||
|
Reference in New Issue
Block a user