diff options
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() |