From 1eb1677cf916c13e07f61efc464edca1c571684d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 2 Sep 2015 12:58:58 -0600 Subject: Clean up --- src/nshd/hackers_git/hackers_watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nshd/hackers_git/hackers_watch.go') 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 } -- cgit v1.2.3-54-g00ecf