SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
sysutils/incron/patches/patch-ict-main_cpp
Normal file
11
sysutils/incron/patches/patch-ict-main_cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ict-main.cpp.orig Wed Nov 26 21:51:36 2014
|
||||
+++ ict-main.cpp Wed Nov 26 21:52:12 2014
|
||||
@@ -493,7 +493,7 @@ int main(int argc, char** argv)
|
||||
if (uid != 0) {
|
||||
fprintf(stderr, "insufficient privileges to use custom configuration (will use default)\n");
|
||||
}
|
||||
- else if (euidaccess(cfg.c_str(), R_OK) != 0) {
|
||||
+ else if (access(cfg.c_str(), R_OK) != 0) {
|
||||
perror("cannot read configuration file (will use default)");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue