From f118fd73bce05f6ca38c1185b18b23f4a19458ce Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 28 Jun 2018 06:29:55 -0400 Subject: [PATCH] [calamares] More info when Cala is already running - If Calamares is already running, print some information about which instances there are so that it is possible to unstick them. --- src/calamares/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/calamares/main.cpp b/src/calamares/main.cpp index d4bd2743d..9893e6792 100644 --- a/src/calamares/main.cpp +++ b/src/calamares/main.cpp @@ -108,7 +108,14 @@ main( int argc, char* argv[] ) returnCode = a.exec(); } else + { + auto instancelist = guard.instances(); qDebug() << "Calamares is already running, shutting down."; + if ( instancelist.count() > 0 ) + qDebug() << "Other running Calamares instances:"; + for ( const auto& i : instancelist ) + qDebug() << " " << i.isValid() << i.pid() << i.arguments(); + } return returnCode; }