manager: fixed typo

This commit is contained in:
Rifat Azad
2024-12-23 07:38:48 +06:00
parent f625c73568
commit 65a2088483

View File

@@ -444,7 +444,7 @@ fun getAppProfileTemplate(id: String): String {
fun setAppProfileTemplate(id: String, template: String): Boolean {
val shell = getRootShell()
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)
.to(ArrayList(), null).exec().isSuccess
}