From 1adb158cfd65a5771af279e0e774f45fcc860faf Mon Sep 17 00:00:00 2001 From: dwmw2 Date: Sat, 07 Jun 2003 16:05:15 +0000 Subject: execpppd returns true on success, not zero --- (limited to 'noncore/settings') 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 -- cgit v0.9.0.2