cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rohara@sourceware.org <rohara@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/agents/scsi fence_scsi.pl
Date: 6 Jul 2006 16:23:41 -0000	[thread overview]
Message-ID: <20060706162341.27266.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara at sourceware.org	2006-07-06 16:23:41

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Added extra output when verbose option is given.
	Fixed code to close stdin, stdout, stderr after open3 call.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.1&r2=1.2

--- cluster/fence/agents/scsi/fence_scsi.pl	2006/06/29 21:36:09	1.1
+++ cluster/fence/agents/scsi/fence_scsi.pl	2006/07/06 16:23:40	1.2
@@ -141,6 +141,10 @@
 	    push @volumes, $device;
 	}
     }
+
+    close($in);
+    close($out);
+    close($err);
 }
 
 sub check_sg_persist
@@ -153,6 +157,12 @@
 
     die "Unable to execute sg_persist.\n" if ($?>>8);
 
+    while (<$out>)
+    {
+	chomp;
+	print "OUT: $_\n" if $opt_v;
+    }
+
     close($in);
     close($out);
     close($err);



             reply	other threads:[~2006-07-06 16:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 16:23 rohara [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-06 21:58 [Cluster-devel] cluster/fence/agents/scsi fence_scsi.pl rohara
2006-07-10 18:53 rohara
2006-07-12 20:34 rohara
2006-11-29 20:14 rohara
2006-11-29 23:19 rohara
2006-12-01 17:53 rohara
2006-12-01 17:53 rohara
2006-12-01 20:24 rohara
2006-12-07 19:40 rohara
2006-12-07 19:43 rohara
2006-12-07 20:04 rohara
2006-12-08 21:23 rohara
2006-12-12 22:22 rohara
2006-12-12 22:22 rohara
2006-12-14 21:16 rohara
2006-12-14 21:18 rohara
2007-09-21  3:08 rmccabe
2007-09-21  3:09 rmccabe

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=20060706162341.27266.qmail@sourceware.org \
    --to=rohara@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 NNTP newsgroup(s).