From 26ea5f0f0042dc59b6ca62888156885aba093f03 Mon Sep 17 00:00:00 2001 From: Foo Date: Sat, 18 Jul 2015 16:55:04 +0300 Subject: [PATCH] Fix error message when inotify limits were hit --- powerline/lib/inotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/lib/inotify.py b/powerline/lib/inotify.py index 174d88f8..8b74a7f1 100644 --- a/powerline/lib/inotify.py +++ b/powerline/lib/inotify.py @@ -134,7 +134,7 @@ class INotify(object): eno = ctypes.get_errno() extra = '' if eno == errno.ENOSPC: - extra = 'You may need to increase the inotify limits on your system, via /proc/sys/inotify/max_user_*' + extra = 'You may need to increase the inotify limits on your system, via /proc/sys/fs/inotify/max_user_*' raise OSError(eno, self.os.strerror(eno) + str(extra)) def __del__(self):