shared/cliconfig: Remove duplicate file closing

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber 2026-06-10 01:06:10 -04:00
parent dcac6a1e51
commit f830526711
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -175,10 +175,5 @@ func (c *Config) SaveConfig(path string) error {
return fmt.Errorf("Unable to write the configuration: %w", err)
}
err = f.Close()
if err != nil {
return fmt.Errorf("Unable to close the configuration file: %w", err)
}
return nil
}