projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
retab
[systembsd.git]
/
src
/
config.c
diff --git
a/src/config.c
b/src/config.c
index 480bcf6fe8ab17c4ea8f4d34dc5ae60808a3f6d1..21396a522c8e0f91de4ade1972a2422ecb33b829 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-62,7
+62,7
@@
gboolean config_init() {
config_path = "/etc/systemd_compat.conf";
config_lstat_ret = g_lstat(config_path, config_lstat);
config_path = "/etc/systemd_compat.conf";
config_lstat_ret = g_lstat(config_path, config_lstat);
-
/* this should all be handled in the makefile
+ /* this should all be handled in the makefile
* does conf exist?
if(config_lstat_ret) {
* does conf exist?
if(config_lstat_ret) {
@@
-100,7
+100,7
@@
gboolean config_init() {
if(g_access(config_path, W_OK)) {
if(g_access(config_path, W_OK)) {
-
g_printf("%s\n", "no write permissions for /etc/! exiting..");
+ 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))
return FALSE;
} else if(g_key_file_load_from_file(config, config_path, G_KEY_FILE_KEEP_COMMENTS, NULL))