mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-13 22:05:50 +00:00
fix #46, release 1.4.9
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user