Commit e45cfcfe authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Better error handling for incorrect permissions on /etc/babeld.conf.

parent f590b48a
......@@ -233,7 +233,7 @@ main(int argc, char **argv)
if(!config_file) {
if(access("/etc/babeld.conf", R_OK) >= 0)
if(access("/etc/babeld.conf", F_OK) >= 0)
config_file = "/etc/babeld.conf";
}
if(config_file) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment