summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9adea5)
raw | patch | inline | side by side (parent: c9adea5)
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 6a01b298bcced48ada82f0e08ae8f257c2eef005..52dd977becb1104b6638c47afa415aed7aa76801 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
if ((procdir = opendir("/proc")) == NULL) {
ERROR("zone plugin: cannot open /proc directory\n");
- exit(1);
+ return (-1);
}
tree=zone_scandir(procdir);