diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp index 3778333..4d07394 100644 --- a/src/util/externalcommandhelper.cpp +++ b/src/util/externalcommandhelper.cpp @@ -267,6 +267,11 @@ QVariantMap ExternalCommandHelper::start(const QByteArray& signature, const quin return reply; } + if (command.isEmpty()) { + reply[QStringLiteral("success")] = false; + return reply; + } + QByteArray request; request.setNum(nonce); request.append(command.toUtf8());