firstsetup: add reboot if setup was not finnished.

This commit is contained in:
Arne Fitzenreiter
2010-12-24 01:02:57 +01:00
parent ceb5098e57
commit e238e4c25b
3 changed files with 14 additions and 0 deletions

View File

@@ -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");