Adjust path quote [skip ci]

This commit is contained in:
Akkadius 2020-07-04 02:01:35 -05:00
parent 8e96232690
commit 9e960b90bd

View File

@ -12832,10 +12832,10 @@ void command_hotfix(Client *c, const Seperator *sep)
}
if (hotfix_name.length() > 0) {
if (system(StringFormat("%s -hotfix=%s", shared_memory_path.c_str(), hotfix_name.c_str()).c_str())) {}
if (system(StringFormat("\"%s\" -hotfix=%s", shared_memory_path.c_str(), hotfix_name.c_str()).c_str())) {}
}
else {
if (system(StringFormat("%s", shared_memory_path.c_str()).c_str())) {}
if (system(StringFormat("\"%s\"", shared_memory_path.c_str()).c_str())) {}
}
#else
shared_memory_path = "./shared_memory";