diff main/main.cpp @ 1277:7293bc5ee7f8 piper

Error reporting for Piper server startup
author Chris Cannam
date Fri, 21 Oct 2016 16:24:30 +0100
parents 0c6cdcf53641
children e93ad534c1cb
line wrap: on
line diff
--- a/main/main.cpp	Fri Oct 21 14:51:22 2016 +0100
+++ b/main/main.cpp	Fri Oct 21 16:24:30 2016 +0100
@@ -356,11 +356,11 @@
              << ", trying in my own directory" << endl;
         helperPath = myDir + "/plugin-checker-helper";
     }
-    helperPath += helperSuffix;
     if (!QFile(helperPath + helperSuffix).exists()) {
         cerr << "NOTE: helper not found at " << (helperPath + helperSuffix)
              << endl;
     }
+    helperPath += helperSuffix;
     PluginScan::getInstance()->scan(helperPath);
     
     // Permit size_t and PropertyName to be used as args in queued signal calls