aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorkremlin- <ian@kremlin.cc>2014-06-27 07:55:42 +0800
committerkremlin- <ian@kremlin.cc>2014-06-27 07:55:42 +0800
commit94dc7ef01374157347d95a4801704f5848649d83 (patch)
tree91d11bfcb20f878273dcd20550a24ad1ad4e9c0a /src/main.c
parent6981850a27c5d29b8e916e77d0f56a3a30489017 (diff)
downloadsystembsd-94dc7ef01374157347d95a4801704f5848649d83.tar
systembsd-94dc7ef01374157347d95a4801704f5848649d83.tar.gz
systembsd-94dc7ef01374157347d95a4801704f5848649d83.tar.bz2
systembsd-94dc7ef01374157347d95a4801704f5848649d83.tar.lz
systembsd-94dc7ef01374157347d95a4801704f5848649d83.tar.xz
systembsd-94dc7ef01374157347d95a4801704f5848649d83.tar.zst
systembsd-94dc7ef01374157347d95a4801704f5848649d83.zip
retab
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/main.c b/src/main.c
index e8127f0..f8cb5ef 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,21 +22,21 @@
#include "interfaces/hostnamed/hostnamed.c"
gboolean systemd_utils_init() {
- if(!config_init()) {
- gchar *tmp;
- tmp = "/etc/systemd_compat.conf";
-
- g_printf("FAILED to open config %s!\n", tmp);
- return FALSE;
- }
- /*if(!init_xml()) {
- const gchar * const *tmp;
- tmp = g_get_system_data_dirs();
-
- g_printf("FAILED to install xml configs in %s!\n", tmp[0]);
- return FALSE;
- }*/
- return TRUE;
+ if(!config_init()) {
+ gchar *tmp;
+ tmp = "/etc/systemd_compat.conf";
+
+ g_printf("FAILED to open config %s!\n", tmp);
+ return FALSE;
+ }
+ /*if(!init_xml()) {
+ const gchar * const *tmp;
+ tmp = g_get_system_data_dirs();
+
+ g_printf("FAILED to install xml configs in %s!\n", tmp[0]);
+ return FALSE;
+ }*/
+ return TRUE;
}
int main() {