We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306db57 commit e0478e3Copy full SHA for e0478e3
src/NetworkSettingsWidget.cpp
@@ -174,7 +174,7 @@ QString NetworkSettingsWidget::getRaspberryPiType()
174
void NetworkSettingsWidget::getWombatName()
175
{
176
QStringList arguments;
177
- arguments << "-c" << "nmcli -t -f NAME connection show --active | grep 'wombat'";
+ arguments << "-c" << "nmcli -t -f NAME connection show --active | awk '/-wombat/'";
178
179
QProcess *myProcess = new QProcess(this);
180
myProcess->start("/bin/sh", arguments); // Use /bin/sh or /bin/bash to interpret the command
0 commit comments