[Pkg-ossec-devel] [pkg-ossec] 01/01: Clear patch of extraneous content

Javier Fernandez-Sanguino Pen~a jfs at alioth.debian.org
Fri Aug 16 15:46:42 UTC 2013


This is an automated email from the git hooks/post-receive script.

jfs pushed a commit to branch master
in repository pkg-ossec.

commit b9c7afb19b7ce7cf766aaf0a9bd9f57820f54db6
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Fri Aug 16 17:44:34 2013 +0200

    Clear patch of extraneous content
---
 debian/patches/06-control-return-status-value |   20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/debian/patches/06-control-return-status-value b/debian/patches/06-control-return-status-value
index 613e4a5..88ef8a7 100644
--- a/debian/patches/06-control-return-status-value
+++ b/debian/patches/06-control-return-status-value
@@ -1,6 +1,6 @@
 --- a/src/init/ossec-server.sh
 +++ b/src/init/ossec-server.sh
-@@ -198,14 +187,14 @@
+@@ -198,7 +198,7 @@
              echo "${i} is running..."
          fi
      done
@@ -9,17 +9,9 @@
  }
  
  testconfig()
- {
-     # We first loop to check the config. 
-     for i in ${SDAEMONS}; do
--        ${DIRECTORY}/bin/${i} -t ${DEBUG_CLI};
-+        ${DIR}/bin/${i} -t ${DEBUG_CLI};
-         if [ $? != 0 ]; then
-             echo "${i}: Configuration error. Exiting"
-             unlock;
 --- a/src/init/ossec-local.sh
 +++ b/src/init/ossec-local.sh
-@@ -197,14 +187,14 @@
+@@ -197,7 +197,7 @@
              echo "${i} is running..."
          fi
      done
@@ -28,11 +20,3 @@
  }
  
  testconfig()
- {
-     # We first loop to check the config. 
-     for i in ${SDAEMONS}; do
--        ${DIRECTORY}/bin/${i} -t ${DEBUG_CLI};
-+        ${DIR}/bin/${i} -t ${DEBUG_CLI};
-         if [ $? != 0 ]; then
-             echo "${i}: Configuration error. Exiting"
-             unlock;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ossec/pkg-ossec.git



More information about the Pkg-ossec-devel mailing list