summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -989,5 +989,5 @@ 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;