Re: [Integrit-users] Exit code bug
Brought to you by:
ecashin
From: Thorsten K. <tho...@th...> - 2007-05-21 00:22:55
|
* Yuri D'Elia (Mon, 21 May 2007 00:48:39 +0200) > Thorsten Kampe <tho...@th...> wrote: > > * Yuri D'Elia (Sun, 20 May 2007 01:50:38 +0200) > > > Thorsten Kampe <tho...@th...> wrote: > > > > Integrit 4 returns the wrong exit code (0) when a file is missing. > > > > > > > > Integrit returns 0 when the file is missing or when not missing > > > > > > > > Integrit returns 1 when the file has changed. > > > > > > > > Obviously it doesn't (or shouldn't matter) whether a file has changed > > > > or has completely vanished. From a "file integrity checker" point of > > > > view both cases should be "file has changed" scenarios and should > > > > return "1". > <...> > > ## After removing autorun.inf (which is the only file monitored) > > ## intergrit exits with "0" > > Verified, and fixed. missing files didn't contribute to the exit code. Thanks. > If you can, download the update sources from CVS: > > http://sourceforge.net/cvs/?group_id=15369 > > (build with "autoconf && ./configure && make"). The configure script errors with: config.status: error: cannot find input file: config.h.in ...and in fact, there is no config.h.in file. Thorsten |