aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrex4
1 files changed, 3 insertions, 1 deletions
diff --git a/rex b/rex
index 6ff3f19..06f48cd 100755
--- a/rex
+++ b/rex
@@ -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}

Return to:

Send suggestions and report system problems to the System administrator.