summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index af3a40040..f9bebe686 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -494,7 +494,7 @@ sub main {
}
$o->{interactive} ||= 'gtk' if !$::auto_install;
- if ($o->{interactive} eq "gtk" && availableMemory < 22 * 1024) {
+ if ($o->{interactive} eq "gtk" && availableMemory() < 22 * 1024) {
log::l("switching to newt install cuz not enough memory");
$o->{interactive} = "newt";
}