krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/0019-ras-mc-ctl-remove-completely-use-of-modprobe.patch

97e186
From 2afbcd81173822014d6d73e98e9093a140bb1421 Mon Sep 17 00:00:00 2001
97e186
From: Aristeu Rozanski <arozansk@redhat.com>
97e186
Date: Fri, 6 Dec 2013 09:45:14 -0500
97e186
Subject: [PATCH 19/32] ras-mc-ctl: remove completely use of modprobe
97e186
97e186
While verifying SELinux policies, this popped up. ras-mc-ctl inherited a
97e186
modprobe lookup that ends up never being used. This patch gets rid of
97e186
it.
97e186
97e186
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
97e186
---
97e186
 util/ras-mc-ctl.in |    1 -
97e186
 1 files changed, 0 insertions(+), 1 deletions(-)
97e186
97e186
diff --git a/util/ras-mc-ctl.in b/util/ras-mc-ctl.in
97e186
index 196a643..ef0d9bc 100755
97e186
--- a/util/ras-mc-ctl.in
97e186
+++ b/util/ras-mc-ctl.in
97e186
@@ -39,7 +39,6 @@ my $dbname      = "@RASSTATEDIR@/@RAS_DB_FNAME@";
97e186
 my $prefix      = "@prefix@";
97e186
 my $sysconfdir  = "@sysconfdir@";
97e186
 my $dmidecode   = find_prog ("dmidecode");
97e186
-my $modprobe    = find_prog ("modprobe")  or exit (1);
97e186
 
97e186
 my %conf        = ();
97e186
 my %bus         = ();
97e186
-- 
97e186
1.7.1
97e186