Support list of extra keys to check in /mod/etc/keys

This commit is contained in:
df 2020-10-22 19:02:39 +00:00
parent d9c182a69a
commit 18d7b7d130

View File

@ -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 {