summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbfox <bfox>2001-03-14 17:24:24 +0000
committerbfox <bfox>2001-03-14 17:24:24 +0000
commit2dae3cac7cbdf590141f4ec915e60669d3b54c07 (patch)
tree7e9c18b7d9149b4e0df92d763aae11dc309c0487
parent52b2d9864bf3f051468fdc5bf0251a98206ddceb (diff)
downloadanaconda-2dae3cac7cbdf590141f4ec915e60669d3b54c07.tar.gz
anaconda-2dae3cac7cbdf590141f4ec915e60669d3b54c07.tar.xz
anaconda-2dae3cac7cbdf590141f4ec915e60669d3b54c07.zip
added check for some free space on the partition
-rw-r--r--iw/upgrade_swap_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py
index 4cb11ae71..9ad6bdc7d 100644
--- a/iw/upgrade_swap_gui.py
+++ b/iw/upgrade_swap_gui.py
@@ -39,7 +39,7 @@ class UpgradeSwapWindow (InstallWindow):
threads_enter()
raise gui.StayOnScreen
- elif val > size:
+ elif (val-16) > size:
threads_leave()
rc = self.swapTooBig()
threads_enter()