Merge pull request #18 from xetorthio/jonas_master
Don't stop loading if session IP is missing
This commit is contained in:
@@ -204,7 +204,8 @@ func (p *pwd) SessionLoadAndPrepare() error {
|
|||||||
for _, s := range sessions {
|
for _, s := range sessions {
|
||||||
// Connect PWD daemon to the new network
|
// Connect PWD daemon to the new network
|
||||||
if s.PwdIpAddress == "" {
|
if s.PwdIpAddress == "" {
|
||||||
return fmt.Errorf("Cannot load stored sessions as they don't have the pwd ip address stored with them")
|
log.Printf("Cannot load store session [%s] as they don't have the pwd ip address stored with them\n", s.Id)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func(s *Session) {
|
go func(s *Session) {
|
||||||
|
|||||||
Reference in New Issue
Block a user