mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
[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
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue