hyprpm: guard empty command

fixes #4114
This commit is contained in:
Vaxry 2023-12-10 19:30:14 +00:00
parent 359baa0214
commit d02ba422da

View file

@ -58,6 +58,11 @@ int main(int argc, char** argv, char** envp) {
} }
} }
if (command.empty()) {
std::cout << HELP;
return 0;
}
g_pPluginManager = std::make_unique<CPluginManager>(); g_pPluginManager = std::make_unique<CPluginManager>();
g_pPluginManager->m_bVerbose = verbose; g_pPluginManager->m_bVerbose = verbose;