Permalink
Browse files

Append prefix to the command line when starting mythlogserver.

We append the installation prefix when starting most commands with
MythSystem to make sure we run the correct ones.  mythlogserver was
recently added and slipped through without using the prefix.
  • Loading branch information...
gigem committed Jun 15, 2012
1 parent 689a7b5 commit b0a0e565e42eae871f63d69a127374fdd1e49744
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/libs/libmythbase/logging.cpp
@@ -21,6 +21,7 @@ using namespace std;
#include "loggingserver.h"
#include "mythconfig.h"
#include "mythdb.h"
+#include "mythdirs.h"
#include "mythcorecontext.h"
#include "mythsystem.h"
#include "dbutil.h"
@@ -422,7 +423,7 @@ void LoggerThread::launchLogServer(void)
QStringList args;
args << "--daemon" << logPropagateArgs;
- MythSystem ms("mythlogserver", args, mask);
+ MythSystem ms(GetInstallPrefix() + "/bin/mythlogserver", args, mask);
ms.Run();
}
}

0 comments on commit b0a0e56

Please sign in to comment.