Skip to content

Commit b8ae03f

Browse files
committed
main.py: Tell the user when they don't have enough free space.
Fixes: #28 Signed-off-by: Hector Martin <[email protected]>
1 parent f17e763 commit b8ae03f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,8 @@ def main_loop(self):
993993

994994
if not actions:
995995
p_error("No actions available on this system.")
996+
p_message("No partitions have enough free space to be resized, and there is")
997+
p_message("nothing else to be done.")
996998
sys.exit(1)
997999

9981000
actions["q"] = "Quit without doing anything"

0 commit comments

Comments
 (0)