aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-10-10 16:53:02 +0000
committerBill Nottingham <notting@redhat.com>2003-10-10 16:53:02 +0000
commite866d9cfe8504bf75f0fb80475c5a6ec65b39081 (patch)
treeaf3aa002b7bdeb0549dc47d2ffc8c894387c46cc
parentcbb71adceeacdc3b058d992ae240be28d4ebf314 (diff)
downloadinitscripts-e866d9cfe8504bf75f0fb80475c5a6ec65b39081.tar
initscripts-e866d9cfe8504bf75f0fb80475c5a6ec65b39081.tar.gz
initscripts-e866d9cfe8504bf75f0fb80475c5a6ec65b39081.tar.bz2
initscripts-e866d9cfe8504bf75f0fb80475c5a6ec65b39081.tar.xz
initscripts-e866d9cfe8504bf75f0fb80475c5a6ec65b39081.zip
add fudge factor (#106787)
-rw-r--r--src/redhat-support-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redhat-support-check.c b/src/redhat-support-check.c
index f907432f..280cebc1 100644
--- a/src/redhat-support-check.c
+++ b/src/redhat-support-check.c
@@ -150,7 +150,7 @@ int main(int argc, char **argv) {
get_release_info();
openlog("redhat-support-check", 0, LOG_USER);
- if (min_mem && memory < min_mem) {
+ if (min_mem && memory < (0.9 * min_mem)) {
printf(_("WARNING: %s requires at least %dMB RAM to run as a supported configuration. (%lluMB detected)\n"),
release_name, min_mem, memory);
syslog(LOG_NOTICE,_("WARNING: %s requires at least %dMB RAM to run as a supported configuration. (%lluMB detected)\n"),