summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/modem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/modem.cpp b/noncore/settings/networksettings/ppp/modem.cpp
index 2da9b14..d23fee4 100644
--- a/noncore/settings/networksettings/ppp/modem.cpp
+++ b/noncore/settings/networksettings/ppp/modem.cpp
@@ -988,7 +988,7 @@ void Modem::parseargs(char* buf, char** args) {
bool Modem::execPPPDaemon(const QString & arguments)
{
- if(execpppd(arguments)==0) {
+ if(execpppd(arguments)) {
_pppdata->setpppdRunning(true);
return true;
} else