From: Thomas Lamprecht Date: Wed, 3 Jul 2019 05:32:16 +0000 (+0200) Subject: followup: refword, coding style and do not die X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=ca951e77242a2d223e59ffd67081978f7141fc04 followup: refword, coding style and do not die If a user really want's to try it, why not. Also, no point in dividing by 1024 if we have a less-than operator Signed-off-by: Thomas Lamprecht --- diff --git a/proxinstall b/proxinstall index 4f5fee1..d3f9fd7 100755 --- a/proxinstall +++ b/proxinstall @@ -3232,9 +3232,8 @@ sub create_intro_view { cleanup_view(); - if (int($total_memory/1024) < 1) { - display_error("you need at least 1GB memory to install Proxmox\n"); - die "not enough memory"; + if (int($total_memory) < 1024) { + display_error("Less than 1 GiB memory detected, installation will probably fail.\n"); } if ($setup->{product} eq 'pve') {