summaryrefslogtreecommitdiff
path: root/src/pkg/os/inotify
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/inotify')
-rw-r--r--src/pkg/os/inotify/inotify_linux.go4
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 9d7a07442..96c229e7b 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 {