fix #46, release 1.4.9

This commit is contained in:
arcan1s
2015-12-21 11:26:54 +03:00
parent d2714dca02
commit c2e4ea2258
4 changed files with 9 additions and 5 deletions

View File

@ -149,7 +149,7 @@ bool Netctl::isProfileEnabled(const QString profile) const
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Profile" << profile;
return cmdCall(false, netctlCommand, QString("is-enabled"), profile).status();
return cmdCall(false, netctlCommand, QString("is-enabled"), profile).output == QString("enabled\n");
}