Skip to content

Commit

Permalink
Fix deleting users
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Oct 17, 2024
1 parent 09c3408 commit 3212ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/control/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func NewControlServer(firewall *router.Firewall) (*WagControlSocketServer, error

go func() {
err := srvSock.httpSrv.Serve(srvSock.socket)
if err != nil {
if err != nil && err != http.ErrServerClosed {
log.Println("failed to serve control socket: ", err)
}
}()
Expand Down

0 comments on commit 3212ccf

Please sign in to comment.