projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return -1 in zone_read on error
[collectd.git]
/
src
/
zone.c
diff --git
a/src/zone.c
b/src/zone.c
index
6a01b29
..
52dd977
100644
(file)
--- a/
src/zone.c
+++ b/
src/zone.c
@@
-183,7
+183,7
@@
static int zone_read (void)
if ((procdir = opendir("/proc")) == NULL) {
ERROR("zone plugin: cannot open /proc directory\n");
-
exit(
1);
+
return (-
1);
}
tree=zone_scandir(procdir);