mirror of https://github.com/Icinga/icinga2.git
parent
6a298615e4
commit
c4389103bd
|
@ -1147,7 +1147,7 @@ String Utility::EscapeCreateProcessArg(const String& arg)
|
|||
result.Append(numBackslashes * 2, '\\');
|
||||
break;
|
||||
} else if (*it == '"') {
|
||||
result.Append(numBackslashes * 2, '\\');
|
||||
result.Append(numBackslashes * 2 + 1, '\\');
|
||||
result.Append(1, *it);
|
||||
} else {
|
||||
result.Append(numBackslashes, '\\');
|
||||
|
|
Loading…
Reference in New Issue