diff --git a/opts/envfile.go b/opts/envfile.go index 19ee8955f9..74d7f96f34 100644 --- a/opts/envfile.go +++ b/opts/envfile.go @@ -40,7 +40,7 @@ func ParseEnvFile(filename string) ([]string, error) { } } } - return lines, nil + return lines, scanner.Err() } var whiteSpaces = " \t"