[PATCH 2/3] If there are no installs to rescue via kickstart, display an error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 rescue.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/rescue.py b/rescue.py
index 7d480e7..6938e35 100644
--- a/rescue.py
+++ b/rescue.py
@@ -398,6 +398,9 @@ def runRescue(anaconda, instClass):
     else:
         if anaconda.isKickstart:
             log.info("No Linux partitions found")
+            screen.finish()
+            print(_("You don't have any Linux partitions.  Rebooting.\n"))
+            sys.exit(0)
         else:
             ButtonChoiceWindow(screen, _("Rescue Mode"),
                                _("You don't have any Linux partitions. Press "
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux