summaryrefslogtreecommitdiffstats
path: root/src/pamldapd.go
diff options
context:
space:
mode:
authorEC2 Default User <eisin@users.noreply.github.com>2018-07-01 12:33:14 +0200
committerEC2 Default User <eisin@users.noreply.github.com>2018-07-01 12:33:14 +0200
commit12c77e1253e67a9b176824937487294c3238c592 (patch)
treea55584111b48225cfdc8047fc2b2c1d1df0aea41 /src/pamldapd.go
parentupdate README (diff)
downloadpamldapd-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 'src/pamldapd.go')
-rw-r--r--src/pamldapd.go3
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)
}
}