Skip to content

Commit

Permalink
feat!: no logging to local file by default (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeguo committed Aug 22, 2024
1 parent 280db66 commit 3ebbb16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func mkdirUnlessNone(dir *string) {
return
}
if err := os.MkdirAll(*dir, 0755); err != nil {
fmt.Fprintf(os.Stderr, "failed to create dir %s: %s\n", *dir, err.Error())
*dir = dirNone
}
}
Expand Down Expand Up @@ -71,7 +70,7 @@ func main() {
optPprofPort = ""

optUnitDir = "/etc/minit.d"
optLogDir = "/var/log/minit"
optLogDir = dirNone
optQuickExit bool
)

Expand Down

0 comments on commit 3ebbb16

Please sign in to comment.