From cf95da395ce5b103899bc1765a2335bcc52fac22 Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 10 Jan 2022 16:28:42 +0100 Subject: [PATCH] [cli] Error out if no overlay installs found --- legendary/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 66ec1bc..e7700a2 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -2123,6 +2123,9 @@ class LegendaryCLI: args.path = igame.install_path else: available_installs = self.core.search_overlay_installs(prefix) + if not available_installs: + logger.error('No EOS overlay installs found!') + return args.path = available_installs[0] if not self.core.is_overlay_install(args.path):