1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

Merge pull request #2863 from stgraber/main

shared/util: Fix SingleQuote to actually quote
This commit is contained in:
Serge Hallyn
2026-01-26 17:11:48 -06:00
committed by GitHub

View File

@@ -83,5 +83,5 @@ func SingleQuote(in string) string {
s = strings.ReplaceAll(s, "\\\"", "\"")
s = strings.ReplaceAll(s, "'", "\\'")
return s
return "'" + s + "'"
}