preped error message of frappy_config with ERROR:
more robust with different versions frappy/sea
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user