diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-03 13:50:10 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-03 13:50:10 -0600 |
commit | 2d45bbd332bf439f483dacadf5e3e9776c97ef60 (patch) | |
tree | b130508188532028652759cae08120d81297f386 /src/nshd/hackers_git/hackers_watch.go | |
parent | 959055420845d7c63148fd5be8f9cf4285e2446b (diff) |
tidy
Diffstat (limited to 'src/nshd/hackers_git/hackers_watch.go')
-rw-r--r-- | src/nshd/hackers_git/hackers_watch.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go index f902229..99e5eb3 100644 --- a/src/nshd/hackers_git/hackers_watch.go +++ b/src/nshd/hackers_git/hackers_watch.go @@ -43,18 +43,6 @@ func (o *Hackers) unwatchHomedir(wd inotify.Cint) { delete(o.in_uid2wd, uid) } -func NewHackers(config Config) *Hackers { - o := Hackers{ - cfg: config, - } - err := o.reload() - if err != nil { - return nil - } - go o.worker() - return &o -} - func (o *Hackers) close() { if o.in_fd != nil { o.in_fd.Close() |