summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 13:13:28 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 13:13:28 +0000
commiteb0c73d9abe3e4c80fa268a4f67fbc6d31015da8 (patch)
treef7b86c8ebce66585c26159e7ab9cb9c5dd777261
parent44244310d94110b989de92f7e3f84049b6ae2a6d (diff)
downloaddrakx-eb0c73d9abe3e4c80fa268a4f67fbc6d31015da8.tar
drakx-eb0c73d9abe3e4c80fa268a4f67fbc6d31015da8.tar.gz
drakx-eb0c73d9abe3e4c80fa268a4f67fbc6d31015da8.tar.bz2
drakx-eb0c73d9abe3e4c80fa268a4f67fbc6d31015da8.tar.xz
drakx-eb0c73d9abe3e4c80fa268a4f67fbc6d31015da8.zip
added missing LD_LOADER reference for /bin/dmesg (needed for live upgrade so
that error message are not printed)
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index a4bda9cb5..51fb9e95b 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -239,7 +239,7 @@ sub tryWrite($) {
sub syslog {
-r "/tmp/syslog" and return map { /<\d+>(.*)/ } cat_("/tmp/syslog");
- `/bin/dmesg`;
+ `$ENV{LD_LOADER} /bin/dmesg`;
}
sub hasSMP { c::detectSMP() }