summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 14:49:05 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 15:09:27 -0500
commit5beed3afaee6dc0ecf8610ad7c87797094f0cc49 (patch)
tree34f3a991bda29444cab848f5c70722aef4de7adb
parent93e61dbd75d96bd08b2666d4826e5ef00445f7d4 (diff)
nslcd_systemd: return EXIT_NETWORK for network errors
-rw-r--r--nslcd_systemd/nslcd_systemd.go2
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
}
}
}