Исправлена ошибка при удалении элементов профиля безопасности
This commit is contained in:
parent
a0bbbd3eb5
commit
3acd2be5a6
|
@ -2207,10 +2207,12 @@ proc Del::acl {host type name profile_name} {
|
||||||
set agent_auth ""
|
set agent_auth ""
|
||||||
}
|
}
|
||||||
if {$type eq "directory"} {
|
if {$type eq "directory"} {
|
||||||
set item "--alias=\"$name\""
|
set item "\"--alias=$name\""
|
||||||
} else {
|
} else {
|
||||||
set item "--name=\"$name\""
|
set item "\"--name=$name\""
|
||||||
}
|
}
|
||||||
|
set item [regsub -all -- " " $item "\\ "]
|
||||||
|
|
||||||
set answer [tk_messageBox -message "Удалить $type - $name?" \
|
set answer [tk_messageBox -message "Удалить $type - $name?" \
|
||||||
-icon question -type yesno ]
|
-icon question -type yesno ]
|
||||||
switch -- $answer {
|
switch -- $answer {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user