diff options
Diffstat (limited to 'src/pamldapd.go')
-rw-r--r-- | src/pamldapd.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pamldapd.go b/src/pamldapd.go index b43797b..9715ca1 100644 --- a/src/pamldapd.go +++ b/src/pamldapd.go @@ -76,7 +76,8 @@ func main() { l.CloseFunc("", backend) backend.logger.Printf("LDAP server listen: %s", backend.Listen) if err := l.ListenAndServe(backend.Listen); err != nil { - backend.logger.Fatalf("LDAP server listen failed: %s", err.Error()) + backend.logger.Printf("LDAP server listen failed: %s", err.Error()) + os.Exit(1) } } |