Changeset 15cf8b7


Ignore:
Timestamp:
12/27/13 09:54:53 (17 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
c930de6, 4f9718b
Parents:
656891d
Message:

Make PCDM also look for the "halt" and "reboot" processes for shutdown detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/main.cpp

    r17486a8 r15cf8b7  
    155155  } 
    156156  //check for shutdown process 
    157   if( system("pgrep shutdown") == 0 || retCode > 0){ 
     157  if( system("pgrep shutdown") == 0 || system("pgrep reboot") == 0 || system("pgrep halt") == 0 || retCode > 0){ 
    158158    splash.showMessage(QObject::tr("System Shutting Down"), Qt::AlignHCenter | Qt::AlignBottom, Qt::white); 
    159159    QCoreApplication::processEvents(); 
Note: See TracChangeset for help on using the changeset viewer.