krishnanadh / rpms / rasdaemon

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