preped error message of frappy_config with ERROR:

more robust with different versions frappy/sea
This commit is contained in:
l_samenv
2023-09-19 10:32:15 +02:00
parent 9ea4107be3
commit 93ebf716ba

View File

@ -177,7 +177,7 @@ proc get_param_values {hp} {
}
proc check_or_do {doit service cfgs} {
# result: 1: no change needed, 0: change needed, 2: failure
# result: 1: no change needed, 0: change needed, "ERROR:...": failure
set result 1
set config ""
set stick ""
@ -199,7 +199,7 @@ proc check_or_do {doit service cfgs} {
if {$doit} {
if {[hval /device/confirmed] eq [hval /device/name]} {
set msg "do not allow frappy to change from [hval /device/name] to $config"
clientlog $msg
clientlog ERROR:$msg
return $msg
}
clientlog 0