mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
If a node is specified on the CLI, go straight to console
This commit is contained in:
parent
0985a717cd
commit
3fc39531f4
@ -248,7 +248,10 @@ while authinfo['authpassed'] != 1:
|
||||
doexit = False
|
||||
inconsole = False
|
||||
pendingcommand = ""
|
||||
prompt()
|
||||
if len(args) == 1: # a node name, go straight to trying to console
|
||||
do_command("start /node/%s/console/session" % args[0], server)
|
||||
else:
|
||||
prompt()
|
||||
while not doexit:
|
||||
rdylist, _, _ = select.select((sys.stdin, server), (), (), 60)
|
||||
for fh in rdylist:
|
||||
|
Loading…
Reference in New Issue
Block a user