mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2026-10-24 13:55:00 +00:00
fix #46, release 1.4.9
This commit is contained in:
1 parent
d2714dca02
commit
c2e4ea2258
4 files changed
+9
-5
No files matched your search
@@ -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