Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Exit state handling in runvdr
Steffen Barszus wrote:
>
> Am Dienstag, 26. August 2003 18:21 schrieb Klaus Schmidinger:
> > I believe the recent change I made in handling exit states
> > in 'runvdr' isn't quite correct, since it would leave the loop
> > for any exit value other than 1.
> >
> > The following 'if' statement should work better:
> >
> > if test $? -eq 0 -o $? -eq 2; then exit; fi
> >
> > If nobody objects, I'll change this for the final 1.2.4 release.
> >
> > Klaus
>
> Hmmm. From your own definition, the current would be the correct. Any
> exitcode other than that three I would suspect to be a bug. Otherwise
> the one you mention is correct too and the recover from an error is
> safer.
If VDR exits in any "normal" way, it will return one of the exit
states 1, 2 or 3, respectively. What I was worried about was if it
exists for some unexpected reason, like a segfault, for instance.
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index