mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2026-04-02 11:55:23 +00:00
fix for #178
This commit is contained in:
@@ -56,7 +56,7 @@ func GetConfig() *Config {
|
|||||||
// Load env file
|
// Load env file
|
||||||
envFile := filepath.Join(filepath.Dir(absConfig), ".autorestic.env")
|
envFile := filepath.Join(filepath.Dir(absConfig), ".autorestic.env")
|
||||||
err = godotenv.Load(envFile)
|
err = godotenv.Load(envFile)
|
||||||
if err == nil {
|
if err == nil && !flags.CRON_LEAN {
|
||||||
colors.Faint.Println("Using env:\t", envFile)
|
colors.Faint.Println("Using env:\t", envFile)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user