Added some debug output for parent-process-name
This commit is contained in:
		@@ -14,9 +14,9 @@
 | 
			
		||||
#include <QRegExp>
 | 
			
		||||
#include <QApplication>
 | 
			
		||||
 | 
			
		||||
//#include <iostream>
 | 
			
		||||
//#include <fstream>
 | 
			
		||||
//#include <ctime>
 | 
			
		||||
#if defined (Q_OS_UNIX) || defined (Q_OS_LINUX)
 | 
			
		||||
#include "unistd.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "plugins/interfaces.h"
 | 
			
		||||
 | 
			
		||||
@@ -742,6 +742,9 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
 | 
			
		||||
 | 
			
		||||
    QString const &parentName = Utils::getParentName();
 | 
			
		||||
 | 
			
		||||
    Utils::printInfoMsg(
 | 
			
		||||
        QString("PARENT OF ATB-UPDATE-TOOL (ppid=%1) ").arg(getppid()) + parentName);
 | 
			
		||||
 | 
			
		||||
    if (parentName == "ATBQT" || parentName == "systemd") {
 | 
			
		||||
        // the tool was not called during 'service' ot during an automatic
 | 
			
		||||
        // update procedure. and it was called explicitly with libCAmaster.so
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user