Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
system -> myth_system in mythdbcon
  • Loading branch information
Beirdo committed Dec 3, 2010
1 parent 73b3dfb commit 394845b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythdb/mythdbcon.cpp
Expand Up @@ -14,6 +14,7 @@
#include "mythdbcon.h"
#include "mythdb.h"
#include "mythverbose.h"
#include "mythsystem.h"

static const uint kPurgeTimeout = 60 * 60;

Expand Down Expand Up @@ -96,8 +97,7 @@ bool MSqlDatabase::OpenDatabase()
"Using WOL to wakeup database server (Try %1 of %2)")
.arg(trycount).arg(dbparms.wolRetry));

int ret = system(qPrintable(dbparms.wolCommand));
if (!WIFEXITED(ret))
if (!myth_system(dbparms.wolCommand))
{
VERBOSE(VB_IMPORTANT,
QString("Failed to run WOL command '%1'")
Expand Down

0 comments on commit 394845b

Please sign in to comment.