diff options
author | Mathieu Lonjaret <mathieu.lonjaret@gmail.com> | 2011-02-11 08:30:34 -0500 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2011-02-11 08:30:34 -0500 |
commit | 047b023119fe6f60e08676697e52bfcb3e33fb04 (patch) | |
tree | a83aabcb32005a30942a1ded1dd362d358dd64eb | |
parent | 37b178739279d2ab17b836de64375401abdda8ae (diff) | |
download | go-047b023119fe6f60e08676697e52bfcb3e33fb04.tar.gz go-047b023119fe6f60e08676697e52bfcb3e33fb04.zip |
fix example in inotify
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4174045
-rw-r--r-- | src/pkg/os/inotify/inotify_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/inotify/inotify_linux.go b/src/pkg/os/inotify/inotify_linux.go index 9d7a074424..96c229e7b7 100644 --- a/src/pkg/os/inotify/inotify_linux.go +++ b/src/pkg/os/inotify/inotify_linux.go @@ -8,11 +8,11 @@ This package implements a wrapper for the Linux inotify system. Example: watcher, err := inotify.NewWatcher() if err != nil { - log.Exit(err) + log.Fatal(err) } err = watcher.Watch("/tmp") if err != nil { - log.Exit(err) + log.Fatal(err) } for { select { |