Signed-off-by: Jan Friesse <[email protected]>
---
 tools/corosync-cmapctl.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/tools/corosync-cmapctl.c b/tools/corosync-cmapctl.c
index 46afee2..7e23ab0 100644
--- a/tools/corosync-cmapctl.c
+++ b/tools/corosync-cmapctl.c
@@ -673,11 +673,6 @@ static void read_in_config_file(cmap_handle_t handle, char 
* filename)
        char *key_type_s;
        char *key_value_s;
 
-       if (access (filename, R_OK) != 0) {
-               perror ("Couldn't access file.");
-               return;
-       }
-
        fh = fopen(filename, "r");
        if (fh == NULL) {
                perror ("Couldn't open file.");
-- 
1.7.1

_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to