forked from enlightenment/efl
how about if opendir fails... we dont try and walk the dir? :)
SVN revision: 48047
This commit is contained in:
parent
58c7049da8
commit
ca87bc3349
|
@ -1559,6 +1559,7 @@ efreet_desktop_changes_listen_recursive(const char *path)
|
||||||
efreet_desktop_changes_monitor_add(path);
|
efreet_desktop_changes_monitor_add(path);
|
||||||
|
|
||||||
files = opendir(path);
|
files = opendir(path);
|
||||||
|
if (!files) return;
|
||||||
while ((file = readdir(files)))
|
while ((file = readdir(files)))
|
||||||
{
|
{
|
||||||
if (!file) break;
|
if (!file) break;
|
||||||
|
|
Loading…
Reference in New Issue