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