summaryrefslogtreecommitdiff
path: root/internal/configfile/config_file.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configfile/config_file.go')
-rw-r--r--internal/configfile/config_file.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index 74f506f..fab74a6 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -198,9 +198,5 @@ func (cf *ConfFile) WriteFile() error {
return err
}
err = os.Rename(tmp, cf.filename)
- if err != nil {
- return err
- }
-
- return nil
+ return err
}