Browse Source

Update the rights to the log file

Brendan Abolivier 7 years ago
parent
commit
d7dd74bb1a
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/metrics-alerting/log.go

+ 1
- 1
src/metrics-alerting/log.go View File

19
 	var disableColors = false
19
 	var disableColors = false
20
 
20
 
21
 	if len(*logFile) > 0 {
21
 	if len(*logFile) > 0 {
22
-		f, err := os.OpenFile(*logFile, os.O_WRONLY|os.O_CREATE, 0755)
22
+		f, err := os.OpenFile(*logFile, os.O_WRONLY|os.O_CREATE, 0655)
23
 		if err != nil {
23
 		if err != nil {
24
 			return err
24
 			return err
25
 		}
25
 		}