diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-11-29 12:22:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-11-29 12:22:45 +0200 |
commit | b9c48f9a25f39057ec774cadcc89599e0359dc7e (patch) | |
tree | c6b89b07eaaa294fe50c683f18a02c4a1cb1dfb7 /rex | |
parent | 2ec31a163a6e6dc690aa7117a70374059451db76 (diff) | |
download | rex-b9c48f9a25f39057ec774cadcc89599e0359dc7e.tar.gz rex-b9c48f9a25f39057ec774cadcc89599e0359dc7e.tar.bz2 |
Bugfix
* rex: Clear config(default,selected) in ::hostproc::prologue,
after it has been properly initialized and its content copied
to config(hosts).
Diffstat (limited to 'rex')
-rwxr-xr-x | rex | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3279,13 +3279,15 @@ proc savedefault {} { proc rex_group_select {} { global config + proc ::hostproc::prologue {} { + unset -nocomplain ::config(default,selected) + } proc ::hostproc::logout {host ref status} { if {$status == 0} { lappend ::config(default,selected) $host } } - unset -nocomplain config(default,selected) rex_command_common \ -usage {rex group select [OPTIONS] COMMAND [ARGS...]} \ -docstring {Selects hosts on which COMMAND succeeds} |