summaryrefslogtreecommitdiff
path: root/src/nshd/main.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 13:45:38 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-03 13:45:38 -0600
commit5a9bf43f0e5e7904b64c432d67d3226e2a7ddfca (patch)
tree134f8dd308305d364508034e6c389faa9d5dca21 /src/nshd/main.go
parent3ab61b3e5032805784343dcab16f94f8252a88c4 (diff)
Use systemd/lsb exit codes, consistently
Diffstat (limited to 'src/nshd/main.go')
-rw-r--r--src/nshd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nshd/main.go b/src/nshd/main.go
index ac49eaa..ebca1a6 100644
--- a/src/nshd/main.go
+++ b/src/nshd/main.go
@@ -14,5 +14,5 @@ func main() {
backend := hackers_git.NewHackers(config)
ret := nslcd_systemd.Main(backend)
backend.Close()
- os.Exit(ret)
+ os.Exit(int(ret))
}