119 |
* genere un nouveau */ |
* genere un nouveau */ |
120 |
config_init(); |
config_init(); |
121 |
if (get_config_file(R_OK) == FALSE) { |
if (get_config_file(R_OK) == FALSE) { |
122 |
GHashTable *Lhash = _hash(); |
Tgrave *Lg = sc_grave_newempty(); |
123 |
manage_config(Lhash, SEARCH_LECTEUR + SEARCH_PROG + WRITE_CONFIG, &Lerror); |
manage_config(Lg, SEARCH_LECTEUR + SEARCH_PROG + WRITE_CONFIG, &Lerror); |
124 |
g_free(Lhash); |
sc_grave_destroy(Lg); |
125 |
welcome_to_graveman(); |
welcome_to_graveman(); |
126 |
} else { |
} else { |
127 |
if (read_config(&Lerror)==FALSE) return EXIT_FAILURE; |
if (read_config(&Lerror)==FALSE) return EXIT_FAILURE; |