diff --git a/vpn/client/DapCmdHandlers/DapCmdConnect.cpp b/vpn/client/DapCmdHandlers/DapCmdConnect.cpp index 35120d8788aa7d6473f8239b36b289f4dee7903a..345c3c2620cb2466cf92a118fdb011df810ec3c0 100644 --- a/vpn/client/DapCmdHandlers/DapCmdConnect.cpp +++ b/vpn/client/DapCmdHandlers/DapCmdConnect.cpp @@ -97,8 +97,9 @@ void DapCmdConnect::handle(const QJsonObject* params) QString runScriptPath = mandatoryConnParams[RUN_SCRIPT_PATH].toString(); - if (!runScriptPath.isEmpty()){ + if (!runScriptPath.isEmpty()) { bool runAfterConnect = mandatoryConnParams[RUN_SCRIPT_AFTER_CONNECT].toBool(true); + qDebug() << "Running script path:" << runScriptPath << "Run after connect:" << runAfterConnect; emit sigSetRunScript(runScriptPath, runAfterConnect); }