Disable config saving temporarily
This commit is contained in:
parent
acf425b705
commit
12648b43fa
|
@ -96,9 +96,9 @@ func rootCmdRun(*cobra.Command, []string) {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
if err := c.WriteToDisk(); err != nil {
|
||||
/*if err := c.WriteToDisk(); err != nil {
|
||||
zap.S().Errorw("failed to save configuration to disk", zap.Error(errors.WithStack(err)))
|
||||
}
|
||||
}*/
|
||||
|
||||
// Just for some nice log output.
|
||||
for _, s := range server.GetServers().All() {
|
||||
|
|
|
@ -291,7 +291,8 @@ func (c *Configuration) setSystemUser(u *user.User) error {
|
|||
c.System.User.Uid = uid
|
||||
c.System.User.Gid = gid
|
||||
|
||||
return c.WriteToDisk()
|
||||
// return c.WriteToDisk()
|
||||
return nil
|
||||
}
|
||||
|
||||
// Ensures that the configured data directory has the correct permissions assigned to
|
||||
|
|
Loading…
Reference in New Issue
Block a user