summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-03-14 16:32:29 +0000
committerErik Troan <ewt@redhat.com>2001-03-14 16:32:29 +0000
commit374cbf2bd52d4ecc66d6b022b48c5d22af540e6c (patch)
tree274ad0025b49f5aa3a7afcb547a1a022df969f7b /textw/upgrade_text.py
parentfa6668bff9d306328b14a01e2f597693da84e317 (diff)
downloadanaconda-374cbf2bd52d4ecc66d6b022b48c5d22af540e6c.tar.gz
anaconda-374cbf2bd52d4ecc66d6b022b48c5d22af540e6c.tar.xz
anaconda-374cbf2bd52d4ecc66d6b022b48c5d22af540e6c.zip
added some buffer on device which we create a swap file on
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index 169cb2d1f..36d529fda 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -91,7 +91,7 @@ class UpgradeSwapWindow:
if type(val) == type(1):
(mnt, part, size) = fsList[listbox.current()]
- if size < val:
+ if size < (val - 16):
todo.intf.messageWindow(_("Error"),
_("There is not enough space on the device you "
"selected for the swap partition."))