summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers_watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/nshd/hackers_git/hackers_watch.go')
-rw-r--r--src/nshd/hackers_git/hackers_watch.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go
index a878f4c..3d72f94 100644
--- a/src/nshd/hackers_git/hackers_watch.go
+++ b/src/nshd/hackers_git/hackers_watch.go
@@ -5,6 +5,7 @@ import (
"os"
"path/filepath"
"sd_daemon/logger"
+ "sd_daemon/lsb"
)
const (
@@ -128,7 +129,7 @@ func (o *Hackers) worker_handle_passwd(uid int32) {
func worker_error(format string, a ...interface{}) {
logger.Err(format, a)
- os.Exit(255)
+ os.Exit(int(lsb.EXIT_FAILURE))
}
func (o *Hackers) worker() {