fence-agents: master - fence_scsi: Change path to corosync from /sbin to /usr/sbin

Marek GrĂ¡c marx at fedoraproject.org
Thu Jan 23 16:34:35 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=cc04df682a343c6627c250cffc0f4d60383a7baa
Commit:        cc04df682a343c6627c250cffc0f4d60383a7baa
Parent:        116512c174f4acef0faee4459158c45ddf6922d2
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Thu Jan 23 17:32:25 2014 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Thu Jan 23 17:32:25 2014 +0100

fence_scsi: Change path to corosync from /sbin to /usr/sbin

/sbin is just a symlink to /usr/bin - so it does not impact functionality
---
 fence/agents/scsi/fence_scsi.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fence/agents/scsi/fence_scsi.pl b/fence/agents/scsi/fence_scsi.pl
index 3ad0f09..6808ff5 100644
--- a/fence/agents/scsi/fence_scsi.pl
+++ b/fence/agents/scsi/fence_scsi.pl
@@ -429,7 +429,7 @@ sub get_node_id ($)
     my $self = (caller(0))[3];
     my $node = $_[0];
 
-    my $cmd = "/sbin/corosync-cmapctl nodelist.";
+    my $cmd = "/usr/sbin/corosync-cmapctl nodelist.";
     my @out = qx { $cmd 2> /dev/null };
     my $err = ($?>>8);
 
@@ -454,7 +454,7 @@ sub get_cluster_id ()
     my $self = (caller(0))[3];
     my $cluster_id;
 
-    my $cmd = "/sbin/corosync-cmapctl totem.cluster_name";
+    my $cmd = "/usr/sbin/corosync-cmapctl totem.cluster_name";
     my $out = qx { $cmd 2> /dev/null };
     my $err = ($?>>8);
 


More information about the cluster-commits mailing list