mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-05-01 11:10:17 +08:00
update 2024-09-08 20:10:29
This commit is contained in:
parent
2a6105247d
commit
14fe0e674d
@ -1,15 +0,0 @@
|
|||||||
--- a/internal/bootstrap/config.go
|
|
||||||
+++ b/internal/bootstrap/config.go
|
|
||||||
@@ -68,11 +68,7 @@ func InitConfig() {
|
|
||||||
}
|
|
||||||
conf.Conf.TempDir = absPath
|
|
||||||
}
|
|
||||||
- err := os.RemoveAll(filepath.Join(conf.Conf.TempDir))
|
|
||||||
- if err != nil {
|
|
||||||
- log.Errorln("failed delete temp file:", err)
|
|
||||||
- }
|
|
||||||
- err = os.MkdirAll(conf.Conf.TempDir, 0o777)
|
|
||||||
+ err := os.MkdirAll(conf.Conf.TempDir, 0o777)
|
|
||||||
if err != nil {
|
|
||||||
log.Fatalf("create temp dir error: %+v", err)
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user