From 5beed3afaee6dc0ecf8610ad7c87797094f0cc49 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 18 Dec 2017 14:49:05 -0500 Subject: nslcd_systemd: return EXIT_NETWORK for network errors --- nslcd_systemd/nslcd_systemd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nslcd_systemd') 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 } } } -- cgit v1.2.3-2-g168b