catch around setmaintarget
This commit is contained in:
@ -2950,7 +2950,9 @@ proc lsc::check_set {} {
|
|||||||
}
|
}
|
||||||
if {[silent 0 sct internalset] eq "0"} {
|
if {[silent 0 sct internalset] eq "0"} {
|
||||||
if {[silent 0 sct setmaintarget] ne "0"} {
|
if {[silent 0 sct setmaintarget] ne "0"} {
|
||||||
eval "[sct setmaintarget] $target"
|
if {[catch {eval "[sct setmaintarget] $target"} msg]} {
|
||||||
|
clientlog "WARNING: $msg"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if {$target == 0} {
|
if {$target == 0} {
|
||||||
|
Reference in New Issue
Block a user