diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-18 14:49:05 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-18 15:09:27 -0500 |
commit | 5beed3afaee6dc0ecf8610ad7c87797094f0cc49 (patch) | |
tree | 34f3a991bda29444cab848f5c70722aef4de7adb /nslcd_systemd | |
parent | 93e61dbd75d96bd08b2666d4826e5ef00445f7d4 (diff) |
nslcd_systemd: return EXIT_NETWORK for network errors
Diffstat (limited to 'nslcd_systemd')
-rw-r--r-- | nslcd_systemd/nslcd_systemd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd_systemd/nslcd_systemd.go b/nslcd_systemd/nslcd_systemd.go index d4ce084..0999106 100644 --- a/nslcd_systemd/nslcd_systemd.go +++ b/nslcd_systemd/nslcd_systemd.go @@ -198,7 +198,7 @@ func Main(backend Backend, limits nslcd_server.Limits) uint8 { } case err = <-socket_error: sd_daemon.Log.Err(fmt.Sprintf("%v", err)) - return sd_daemon.EXIT_FAILURE + return sd_daemon.EXIT_NETWORK } } } |