[Logcheck-commits] CVS logcheck/src

CVS User ttroxell logcheck-devel at lists.alioth.debian.org
Fri Sep 2 01:03:38 UTC 2005


Update of /cvsroot/logcheck/logcheck/src
In directory haydn:/tmp/cvs-serv32360

Modified Files:
	logcheck 
Log Message:
exit if no lockfile-progs


--- /cvsroot/logcheck/logcheck/src/logcheck	2005/09/01 16:57:00	1.127
+++ /cvsroot/logcheck/logcheck/src/logcheck	2005/09/02 01:03:38	1.128
@@ -22,7 +22,7 @@
 # along with Logcheck; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-# $Id: logcheck,v 1.127 2005/09/01 16:57:00 ttroxell Exp $
+# $Id: logcheck,v 1.128 2005/09/02 01:03:38 ttroxell Exp $
 
 if [ $UID == 0 ]; then
     echo "logcheck should not be run as root. Use su to invoke logcheck:"
@@ -37,6 +37,7 @@
      ! -f /usr/bin/lockfile-remove -o \
      ! -f /usr/bin/lockfile-touch ]; then
     echo "fatal: lockfile-progs is a prerequisite for logcheck, and was not found."
+    exit 1
 fi
 
 # Set the umask



More information about the Logcheck-commits mailing list