manager: fixed typo

This commit is contained in:
Rifat Azad
2024-12-23 07:38:48 +06:00
parent 5dcb7e1f3e
commit e26e2d22bf
@@ -444,7 +444,7 @@ fun getAppProfileTemplate(id: String): String {
fun setAppProfileTemplate(id: String, template: String): Boolean { fun setAppProfileTemplate(id: String, template: String): Boolean {
val shell = getRootShell() val shell = getRootShell()
val escapedTemplate = template.replace("\"", "\\\"") val escapedTemplate = template.replace("\"", "\\\"")
val cmd = """${getKsuDaemonPath()} profile set-template "$id" "$escapedTemplate'""" val cmd = """${getKsuDaemonPath()} profile set-template "$id" "$escapedTemplate"""""
return shell.newJob().add(cmd) return shell.newJob().add(cmd)
.to(ArrayList(), null).exec().isSuccess .to(ArrayList(), null).exec().isSuccess
} }