blob: 2652f246111da37862d94995e791412ce49370fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/configuration.c.orig 2015-11-14 09:10:58.283075033 +0100
+++ src/configuration.c 2015-11-14 09:11:14.898074670 +0100
@@ -68,7 +68,7 @@
use_hardcoded:
ret = sprintf(filename,"%s", TOSTRING(ACCESSDAEMON));
filename[ret] = '\0';
- if (!access(filename, R_OK))
+ if (!access(filename, X_OK))
{
config.daemonPath = (char*)malloc((strlen(filename)+1) * sizeof(char));
strcpy(config.daemonPath, filename);
|