From ca951e77242a2d223e59ffd67081978f7141fc04 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 3 Jul 2019 07:32:16 +0200 Subject: [PATCH] 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 --- proxinstall | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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') { -- 2.39.2