diff --git a/.travis.yml b/.travis.yml index b62a368..7f5e176 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,10 @@ sudo: required +language: go + +go: + - "1.10" + services: - docker diff --git a/internal/fswatcher/inotify/inotify.go b/internal/fswatcher/inotify/inotify.go index 3544c5a..0ebb8e9 100644 --- a/internal/fswatcher/inotify/inotify.go +++ b/internal/fswatcher/inotify/inotify.go @@ -60,7 +60,7 @@ func (i *Inotify) Init() error { func (i *Inotify) Watch(dir string) error { wd, errno := unix.InotifyAddWatch(i.FD, dir, unix.IN_ALL_EVENTS) if wd < 0 { - return fmt.Errorf("adding watch: errno: %d", errno) + return fmt.Errorf("adding watch to %s: errno: %d", dir, errno) } i.Watchers[wd] = &Watcher{ WD: wd,