diff --git a/tcl/startup/frappy.tcl b/tcl/startup/frappy.tcl index 748a3b5..4621fa6 100644 --- a/tcl/startup/frappy.tcl +++ b/tcl/startup/frappy.tcl @@ -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