mirror of
https://github.com/kerberos-io/agent.git
synced 2026-10-19 17:38:25 +00:00
closing
This commit is contained in:
@@ -117,6 +117,7 @@ func RunAgent(configDirectory string, configuration *models.Configuration, commu
|
||||
err := rtspClient.Connect(context.Background())
|
||||
if err != nil {
|
||||
log.Log.Error("RunAgent: error connecting to RTSP stream: " + err.Error())
|
||||
rtspClient.Close()
|
||||
time.Sleep(time.Second * 3)
|
||||
return status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user