mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2026-04-02 20:05:23 +00:00
Use restic version of host system in Docker container
This commit is contained in:
@@ -21,6 +21,10 @@ func CheckIfResticIsCallable() bool {
|
||||
return CheckIfCommandIsCallable(flags.RESTIC_BIN)
|
||||
}
|
||||
|
||||
func GetResticPath() (result string, err error) {
|
||||
return exec.LookPath(flags.RESTIC_BIN)
|
||||
}
|
||||
|
||||
type ExecuteOptions struct {
|
||||
Command string
|
||||
Envs map[string]string
|
||||
|
||||
Reference in New Issue
Block a user