[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac

Javier Fernandez-Sanguino jfs at debian.org
Wed Aug 29 12:57:50 UTC 2012


The following commit has been merged in the debian branch:
commit acbde9bf19be1ee4b2d6140c6b861184a17b20df
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Wed Aug 29 02:00:38 2012 +0200

    Separate the error output

diff --git a/debian/ossec-hids-agent.init b/debian/ossec-hids-agent.init
index 8466913..3c2aa6a 100755
--- a/debian/ossec-hids-agent.init
+++ b/debian/ossec-hids-agent.init
@@ -121,7 +121,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	     [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	     [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -133,7 +133,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-            [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+            [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -152,7 +152,7 @@ case "$1" in
 		;;
 	  *)
 	  	# Failed to stop
-		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
 		log_end_msg 1
 		;;
 	esac
@@ -164,7 +164,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
 	    log_end_msg 1
         fi
         exit $myret
diff --git a/debian/ossec-hids-local.init b/debian/ossec-hids-local.init
index 31d6186..c8fea37 100755
--- a/debian/ossec-hids-local.init
+++ b/debian/ossec-hids-local.init
@@ -121,7 +121,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -133,7 +133,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -152,7 +152,7 @@ case "$1" in
 		;;
 	  *)
 	  	# Failed to stop
-		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_failure_msg "review the logfile $LOGFILE"
+		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_failure_msg " - failed review the logfile $LOGFILE"
 		log_end_msg 1
 		;;
 	esac
@@ -164,7 +164,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] &&  log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] &&  log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
diff --git a/debian/ossec-hids-server.init b/debian/ossec-hids-server.init
index 6ee62b8..e3fd568 100755
--- a/debian/ossec-hids-server.init
+++ b/debian/ossec-hids-server.init
@@ -121,7 +121,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -133,7 +133,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret
@@ -152,7 +152,7 @@ case "$1" in
 		;;
 	  *)
 	  	# Failed to stop
-		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+		[ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
 		log_end_msg 1
 		;;
 	esac
@@ -164,7 +164,7 @@ case "$1" in
         if  [ $myret -eq 0 ] ; then
             log_end_msg 0
         else
-	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg "review the logfile $LOGFILE"
+	    [ -z "$DEBIAN_SCRIPT_DEBUG" ] && log_progress_msg " - failed review the logfile $LOGFILE"
             log_end_msg 1
         fi
         exit $myret

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list