implement is-active properties

This commit is contained in:
arcan1s 2015-02-16 03:45:49 +03:00
parent d785839d1d
commit 4cef889fd4

View File

@ -184,6 +184,7 @@ void ExtUpgrade::readConfiguration()
int ExtUpgrade::run() int ExtUpgrade::run()
{ {
if (debug) qDebug() << PDEBUG; if (debug) qDebug() << PDEBUG;
if (!m_active) return 0;
TaskResult process = runTask(QString("bash -c \"") + m_executable + QString("\"")); TaskResult process = runTask(QString("bash -c \"") + m_executable + QString("\""));
if (debug) qDebug() << PDEBUG << ":" << "Cmd returns" << process.exitCode; if (debug) qDebug() << PDEBUG << ":" << "Cmd returns" << process.exitCode;