From 9395cf2a65184e493714c699bb23b02ea31feef5 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 31 Jan 2007 22:06:07 +0000 Subject: I expanded my audit to include any app I could get to compile in i386. In that expansion a whole new crop of unchecked returns has sprung up. This commit fixes those weeds or should I say potential bugs. --- (limited to 'noncore/net') diff --git a/noncore/net/opiestumbler/opiestumbler.cpp b/noncore/net/opiestumbler/opiestumbler.cpp index 9b0d099..ab0b8d8 100644 --- a/noncore/net/opiestumbler/opiestumbler.cpp +++ b/noncore/net/opiestumbler/opiestumbler.cpp @@ -342,7 +342,8 @@ void OpieStumbler::slotAssociated() m_proc = new Opie::Core::OProcess(this); *m_proc << "udhcpc" << "-f" << "-n" << "-i" << m_interface; - m_proc->start(Opie::Core::OProcess::DontCare); + if (!m_proc->start(Opie::Core::OProcess::DontCare)) + owarn << "Execution of udhcpc returned false. Are paths correct?" << oendl; QTimer::singleShot(5000, this, SLOT(slotCheckDHCP())); } -- cgit v0.9.0.2