Latest Updates done, before integrating
This commit is contained in:
@@ -46,7 +46,7 @@ func (m *Mode) Set(active bool) error {
|
||||
}
|
||||
|
||||
if active {
|
||||
f, err := os.Create(m.filePath)
|
||||
f, err := os.OpenFile(m.filePath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0600)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user