Blame SOURCES/edac_utils-do_not_exit_if_dmidecode_isnt_found.patch

7c02d9
commit 7629ebb853687afe144987d301d77a4ff99c65b5
7c02d9
Author: Mark A. Grondona <mgrondona@llnl.gov>
7c02d9
Date:   Mon Sep 28 17:49:15 2009 +0000
7c02d9
7c02d9
    Don't make missing dmidecode a fatal error.
7c02d9
7c02d9
diff --git a/src/util/edac-ctl.in b/src/util/edac-ctl.in
7c02d9
index 5bab397..e0c169e 100755
7c02d9
--- a/src/util/edac-ctl.in
7c02d9
+++ b/src/util/edac-ctl.in
7c02d9
@@ -30,7 +30,7 @@ use Getopt::Long;
7c02d9
 
7c02d9
 my $prefix      = "@prefix@";
7c02d9
 my $sysconfdir  = "@sysconfdir@";
7c02d9
-my $dmidecode   = find_prog ("dmidecode") or exit (1);
7c02d9
+my $dmidecode   = find_prog ("dmidecode");
7c02d9
 my $modprobe    = find_prog ("modprobe")  or exit (1);
7c02d9
 
7c02d9
 my %conf        = ();
7c02d9
@@ -392,7 +392,7 @@ sub find_prog
7c02d9
     for my $dir ("/sbin", "/usr/sbin", split ':', $ENV{PATH}) {
7c02d9
         return "$dir/$file" if -x "$dir/$file";
7c02d9
     }
7c02d9
-    log_error ("Failed to find $file in PATH\n");
7c02d9
+    # log_error ("Failed to find $file in PATH\n");
7c02d9
     return "";
7c02d9
 }
7c02d9