Support list of extra keys to check in /mod/etc/keys
This commit is contained in:
parent
d9c182a69a
commit
18d7b7d130
@ -862,7 +862,7 @@ ts method getkey {mode} {
|
|||||||
set fd [open "/mod/etc/keys" r]
|
set fd [open "/mod/etc/keys" r]
|
||||||
set xkeys [split [$fd read -nonewline] "\n"]
|
set xkeys [split [$fd read -nonewline] "\n"]
|
||||||
$fd close
|
$fd close
|
||||||
} on error {
|
} on error {} {
|
||||||
set xkeys {}
|
set xkeys {}
|
||||||
} finally {
|
} finally {
|
||||||
foreach key $xkeys {
|
foreach key $xkeys {
|
||||||
|
Loading…
Reference in New Issue
Block a user