From 997525be2f8d1e62fe95f0881a3370bb55482e1c Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 12 Apr 2022 15:56:57 +0200 Subject: [PATCH] fix for #178 --- internal/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config.go b/internal/config.go index 6d45c4d..469f87b 100644 --- a/internal/config.go +++ b/internal/config.go @@ -56,7 +56,7 @@ func GetConfig() *Config { // Load env file envFile := filepath.Join(filepath.Dir(absConfig), ".autorestic.env") err = godotenv.Load(envFile) - if err == nil { + if err == nil && !flags.CRON_LEAN { colors.Faint.Println("Using env:\t", envFile) } } else {