fix daemon
This commit is contained in:
parent
cbaa9ba0c8
commit
984971e710
1 changed files with 0 additions and 2 deletions
|
@ -255,14 +255,12 @@ func main() {
|
|||
}
|
||||
|
||||
d, err := daemonCTX.Reborn()
|
||||
log.Printf("D : %+v \n", d)
|
||||
if err != nil {
|
||||
log.Fatalf("unable to run daemon: %s ", err.Error())
|
||||
}
|
||||
if d != nil {
|
||||
return
|
||||
}
|
||||
defer daemonCTX.Release()
|
||||
}
|
||||
|
||||
log.Infof("Crowdsec %s", cwversion.VersionStr())
|
||||
|
|
Loading…
Add table
Reference in a new issue