diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-02 12:58:58 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-02 12:58:58 -0600 |
commit | 1eb1677cf916c13e07f61efc464edca1c571684d (patch) | |
tree | a25a47801de93d3027cf996b51e9cc725876b7d7 /src/nshd/hackers_git/hackers_watch.go | |
parent | 5fa621f8dfe2ccd674d8d94eb148c10b52b4fca0 (diff) |
Clean up
Diffstat (limited to 'src/nshd/hackers_git/hackers_watch.go')
-rw-r--r-- | src/nshd/hackers_git/hackers_watch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go index 1b4f08d..a878f4c 100644 --- a/src/nshd/hackers_git/hackers_watch.go +++ b/src/nshd/hackers_git/hackers_watch.go @@ -68,7 +68,7 @@ func (o *Hackers) close() { func (o *Hackers) reload() (err error) { o.close() - o.in_fd, err = inotify.InotifyInit() ; if err != nil { return } + o.in_fd, err = inotify.InotifyInit() ; if err != nil { return } o.in_wd_home, err = o.in_fd.AddWatch("/home" , in_DIR|in_CHILD_ADD); if err != nil { return } o.in_wd_yaml, err = o.in_fd.AddWatch(o.cfg.Yamldir, in_DIR|in_CHILD_ANY); if err != nil { return } |