Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR version 1.2.3 pre-release



Steffen Barszus wrote:
> 
> Am Sonntag, 17. August 2003 15:00 schrieb Klaus Schmidinger:
> > There have been a few fixes and enhancements to VDR 1.2.2 which
> > I'd like to make available in this maintenance release.
> > Before I upload this to the official release directory I would
> > appreciate if some of you could find the time to look over it in
> > the VDR Developer directory.
> >
> > The complete VDR version 1.2.3 is available for download at
> >
> >   ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.2.3.tar.bz2
> >
> > The file
> >
> >   ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.2.2-1.2.3.diff
> >
> > contains the complete 'diff' between versions 1.2.2 and 1.2.3, in case
> > you want to apply the individual fixes to an existing (maybe patched)
> > installation (of course the line numbers may be off then, but I thought
> > providing the 'diff' might be useful).
> >
> > If nobody finds any serious problems with this new version I'd like
> > to officially release it by wednesday.
> 
> Hi Klaus. I have tried to find some information on the exit codes of vdr. Does
> the exit codes differ if the reasons for terminating of vdr are different ?

man vdr -> "EXIT STATUS"

> What I think of is, if vdr quits because f.i. a plugin could not be loaded.
> Since runvdr checks if exitcode != 0 => restart, it would be good to catch
> non recoverable errors like misconfiguration with a different exitcode,
> otherwise we would get a infinite loop ... difficult to catch, beside using
> error handling in runvdr. Would something like this be possible ? Or is it
> implemented and I'm to stupid to see it ?

Yes, actually runvdr should rather check for '1' and only stay in the loop
for that value.

Could you please try

   if test $? -ne 1; then exit; fi

instead of

   if test $? -eq 0; then exit; fi

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index