diff --git a/main.go b/main.go index ae82614..5b62881 100644 --- a/main.go +++ b/main.go @@ -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 } } @@ -71,7 +70,7 @@ func main() { optPprofPort = "" optUnitDir = "/etc/minit.d" - optLogDir = "/var/log/minit" + optLogDir = dirNone optQuickExit bool )