[pisa-src] Re: r1508 - trunk/pisasd/sdmain.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 03 Nov 2009 21:07:52 +0100

On Tue, Nov 03, 2009 at 05:58:23PM +0100, René Hummen wrote:
> 
> Log:
> Forgot to add -k option in pisasd at all necessary places.

Hmmmm...

> --- trunk/pisasd/sdmain.c     Tue Nov  3 17:51:43 2009        (r1507)
> +++ trunk/pisasd/sdmain.c     Tue Nov  3 17:58:23 2009        (r1508)
> @@ -380,15 +381,9 @@
>       /* Check, whether hipd is running. This is a requirement for
>        * using pisasd. The output will be written to stderr before
>        * pisasd is forking to background */
> -     while (TRUE)
> -     {
> -             if (pisa_check_if_hipd_runs()) {
> -                     break;
> -             }
> -             else {
> -                     PISA_ERROR("hipd is not executed on this system. 
> Waiting for it to start up...\n");
> -                     sleep(WAIT_FOR_HIPD_TIMEOUT);
> -             }
> +     if (pisa_check_if_hipd_runs()) {
> +             PISA_ERROR("hipd is not executed on this system. Please start 
> this first!\n");
> +             exit(EXIT_FAILURE);

Am I missing something or is this unrelated to the rest and now what you
describe in your commit message?

Diego

Other related posts: