mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
Fix command line string
This commit is contained in:
parent
553f6f6ba9
commit
50aa0eb1d3
@ -72,6 +72,7 @@ String RedisWriter::FormatCommandLine(const Value& commandLine)
|
||||
} else if (!commandLine.IsEmpty()) {
|
||||
result = commandLine;
|
||||
boost::algorithm::replace_all(result, "\'", "\\'");
|
||||
result = "'" + result + "'";
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user