[Bug Fix] Hotfix command without hotfix name (#3644)

If no hotfix name is provided, the hotfix command won't need the empty string.
This commit is contained in:
JJ
2023-10-21 13:33:16 -04:00
committed by GitHub
parent 0585be0360
commit 8a558f6a29
+1 -1
View File
@@ -665,7 +665,7 @@ void command_hotfix(Client *c, const Seperator *sep)
hotfix_command = fmt::format("\"{}\" -hotfix={}", shared_memory_path, hotfix_name);
}
else {
hotfix_command = fmt::format("\"{}\"", shared_memory_path, hotfix_name);
hotfix_command = fmt::format("\"{}\"", shared_memory_path);
}
LogInfo("Running hotfix command [{}]", hotfix_command);