]> git.proxmox.com Git - pve-installer.git/commitdiff
followup: refword, coding style and do not die
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 05:32:16 +0000 (07:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 05:37:57 +0000 (07:37 +0200)
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 <t.lamprecht@proxmox.com>
proxinstall

index 4f5fee1384b1f919f01afd5856a2f57ce880c43e..d3f9fd7cd245b8c9b8f8b553c57d526dd81695e5 100755 (executable)
@@ -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') {