changed file thing
This commit is contained in:
parent
186a830dd8
commit
a5ef148134
@ -362,7 +362,7 @@ func (con Connection) StartServer(ctx *gin.Context) {
|
||||
ctx.AbortWithError(500, err)
|
||||
return
|
||||
}
|
||||
fo, err := os.OpenFile(UPNPPath, os.O_APPEND, os.ModeAppend)
|
||||
fo, err := os.OpenFile(UPNPPath, os.O_WRONLY, os.ModeAppend)
|
||||
if err != nil {
|
||||
ctx.AbortWithError(503, err)
|
||||
con.dockerClient.ContainerStop(context.TODO(), containerData.ID, container.StopOptions{})
|
||||
|
Loading…
x
Reference in New Issue
Block a user