This commit is contained in:
2022-02-16 21:42:54 +01:00
parent 75160d4d6a
commit db9f5dea66
9 changed files with 43 additions and 30 deletions

View File

@@ -8,6 +8,7 @@ import (
"os/exec"
"github.com/cupcakearmy/autorestic/internal/colors"
"github.com/cupcakearmy/autorestic/internal/flags"
)
var RESTIC_BIN string
@@ -36,7 +37,7 @@ func ExecuteCommand(options ExecuteOptions, args ...string) (string, error) {
cmd.Env = env
cmd.Dir = options.Dir
if VERBOSE {
if flags.VERBOSE {
colors.Faint.Printf("> Executing: %s\n", cmd)
}