File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ int main(int argc, char *argv[]) {
288
288
datasource_handler = datasource_structs [i ];
289
289
if (!datasource_handler -> start ()) {
290
290
result_code = EXIT_FAILURE ;
291
- } else if ( first_boot_setup ) {
291
+ } else {
292
292
first_boot = is_first_boot ();
293
293
}
294
294
break ;
@@ -300,11 +300,11 @@ int main(int argc, char *argv[]) {
300
300
async_task_run ((GThreadFunc )async_fixdisk , NULL );
301
301
}
302
302
303
- if (first_boot ) {
303
+ if (first_boot_setup && first_boot ) {
304
304
async_task_run ((GThreadFunc )async_setup_first_boot , NULL );
305
305
}
306
306
307
- if (first_boot ) {
307
+ if (first_boot_setup && first_boot ) {
308
308
/* default user will be used by ccmodules and datasources */
309
309
g_snprintf (command , LINE_MAX , USERADD_PATH
310
310
" -U -d '%s' -G '%s' -f '%s' -e '%s' -s '%s' -c '%s' -p '%s' '%s'"
You can’t perform that action at this time.
0 commit comments