mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
hotfix: fix init dir permission deny (#573)
This commit is contained in:
@@ -29,7 +29,7 @@ const (
|
||||
//go:embed config.yaml
|
||||
var config []byte
|
||||
|
||||
func init() {
|
||||
func Init() {
|
||||
err := os.MkdirAll(DaemonPath, 0755)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user