projects
/
systembsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2aed5
)
minor, fix system call logic
author
kremlin
<ian@kremlin.cc>
Thu, 26 Jun 2014 02:25:45 +0000
(21:25 -0500)
committer
kremlin
<ian@kremlin.cc>
Thu, 26 Jun 2014 02:25:45 +0000
(21:25 -0500)
src/config.c
patch
|
blob
|
blame
|
history
diff --git
a/src/config.c
b/src/config.c
index 2f8a76bc5c9d23470441c77e954e01c7261ae48c..2456097794064b1cb6a29b40137f5b0d76bbb47f 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-115,7
+115,7
@@
gboolean config_init() {
/* it does exist, read it */
} else {
- if(
!
g_access(config_path, W_OK)) {
+ if(g_access(config_path, W_OK)) {
g_printf("%s\n", "no write permissions for /etc/! exiting..");
return FALSE;
} else if(g_key_file_load_from_file(config, config_path, G_KEY_FILE_KEEP_COMMENTS, NULL))