public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
From: mbroz@sourceware.org
To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org
Subject: LVM2 ./WHATS_NEW scripts/cmirrord_init_red_hat.in
Date: Fri, 22 Jan 2010 16:19:00 -0000	[thread overview]
Message-ID: <20100122161939.8329.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mbroz@sourceware.org	2010-01-22 16:19:39

Modified files:
	.              : WHATS_NEW 
	scripts        : cmirrord_init_red_hat.in 

Log message:
	Fix syntax error in cmirror init script
	- break cannot be used here
	- remove CLVMDOPTS
	- add echo to stop call

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1404&r2=1.1405
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/cmirrord_init_red_hat.in.diff?cvsroot=lvm2&r1=1.3&r2=1.4

--- LVM2/WHATS_NEW	2010/01/22 15:40:31	1.1404
+++ LVM2/WHATS_NEW	2010/01/22 16:19:38	1.1405
@@ -1,5 +1,6 @@
 Version 2.02.60
 ===================================
+  Fix syntax error in cmirror init script.
   Eliminate extra ioctls just to check open_count in _add_new_lv_to_dtree.
   Disable not thread-safe memory debugging if dmeventd is configured.
   Fix first log message prefix in syslog for dmeventd plugins.
--- LVM2/scripts/cmirrord_init_red_hat.in	2010/01/19 02:04:35	1.3
+++ LVM2/scripts/cmirrord_init_red_hat.in	2010/01/22 16:19:38	1.4
@@ -24,14 +24,10 @@
 	if ! pidof $DAEMON > /dev/null 
 	then 
 		echo -n "Starting $DAEMON: "
-		daemon $DAEMON $CLVMDOPTS
+		daemon $DAEMON
 		rtrn=$?
 		echo
-		if [ $rtrn -ne 0 ]
-		then
-			break
-		fi
-	fi      
+	fi
 
 	return $rtrn
 }
@@ -41,6 +37,7 @@
 	echo -n "Stopping $DAEMON:"
 	killproc $DAEMON -TERM
 	rtrn=$?
+	echo
 
 	return $rtrn
 }


             reply	other threads:[~2010-01-22 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22 16:19 mbroz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-15 20:47 jbrassow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100122161939.8329.qmail@sourceware.org \
    --to=mbroz@sourceware.org \
    --cc=lvm-devel@redhat.com \
    --cc=lvm2-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).