diff options
author | EC2 Default User <eisin@users.noreply.github.com> | 2018-07-01 12:33:14 +0200 |
---|---|---|
committer | EC2 Default User <eisin@users.noreply.github.com> | 2018-07-01 12:33:14 +0200 |
commit | 12c77e1253e67a9b176824937487294c3238c592 (patch) | |
tree | a55584111b48225cfdc8047fc2b2c1d1df0aea41 /src/pamldapd.go | |
parent | update README (diff) | |
download | pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar.gz pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar.bz2 pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar.lz pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar.xz pamldapd-12c77e1253e67a9b176824937487294c3238c592.tar.zst pamldapd-12c77e1253e67a9b176824937487294c3238c592.zip |
Diffstat (limited to '')
-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) } } |