[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.
This commit is contained in:
parent
6f39db4752
commit
f118fd73bc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user