Skip to content

Commit

Permalink
Set config file when provided (#4909)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Jun 3, 2024
1 parent b3f8839 commit b232e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/manager/config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func (i *Config) initConfig() error {
// if file does not exist, assume it is a new system
if exists, _ := fsutil.FileExists(configFile); !exists {
i.isNewSystem = true
i.SetConfigFile(configFile)

// ensure we can write to the file
if err := fsutil.Touch(configFile); err != nil {
Expand Down

0 comments on commit b232e58

Please sign in to comment.