projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9adea5
)
Return -1 in zone_read on error
author
Dagobert Michelsen
<dam@opencsw.org>
Thu, 28 May 2015 11:15:59 +0000
(13:15 +0200)
committer
Dagobert Michelsen
<dam@opencsw.org>
Thu, 28 May 2015 11:15:59 +0000
(13:15 +0200)
src/zone.c
patch
|
blob
|
history
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);