Commits

Miki Tebeka committed d8db9bf

comment

Comments (0)

Files changed (1)

 	flags := os.O_WRONLY|os.O_APPEND|os.O_CREATE
 
 	if file, err := os.OpenFile(filename, flags, 0666); err != nil {
+		// This will go only to os.Stderr
 		log.Fatalf("error: can't open %s (%v)", filename, err)
 	} else {
 		log.SetOutput(io.MultiWriter(os.Stdout, file))