Re: [Integrit-users] Exit code bug
Brought to you by:
ecashin
From: Yuri D'E. <wa...@us...> - 2007-05-20 22:48:55
|
In article <f2o85n$ho$1...@se...>, Thorsten Kampe <tho...@th...> wrote: > * Yuri D'Elia (Sun, 20 May 2007 01:50:38 +0200) > > In article <f2le4r$6pa$1...@se...>, > > Thorsten Kampe <tho...@th...> wrote: > > > > > Hi, > > > > > > 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. If you can, download the update sources from CVS: http://sourceforge.net/cvs/?group_id=15369 (build with "autoconf && ./configure && make"). |