mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
firstsetup: add reboot if setup was not finnished.
This commit is contained in:
@@ -199,7 +199,17 @@ EXIT:
|
||||
if (autook)
|
||||
newtWinMessage(title, ctr[TR_OK], ctr[TR_SETUP_FINISHED]);
|
||||
else
|
||||
{
|
||||
newtWinMessage(ctr[TR_WARNING], ctr[TR_OK], ctr[TR_SETUP_NOT_COMPLETE]);
|
||||
|
||||
fprintf(flog, "Setup program not finnished.\n");
|
||||
fflush(flog);
|
||||
fclose(flog);
|
||||
|
||||
newtFinished();
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(flog, "Setup program ended.\n");
|
||||
|
||||
Reference in New Issue
Block a user