mirror of
https://github.com/ovh/the-bastion.git
synced 2025-09-06 21:14:15 +08:00
fix: interactive: omit inactivity msg warning when set to 0 seconds
Signed-off-by: Stéphane Lesimple <stephane.lesimple+bastion@ovhcloud.com>
This commit is contained in:
parent
d430c602bf
commit
59187fcf4c
1 changed files with 1 additions and 1 deletions
|
@ -42,8 +42,8 @@ sub interactive {
|
||||||
|
|
||||||
Welcome to $bastionName interactive mode, type `help' for available commands.
|
Welcome to $bastionName interactive mode, type `help' for available commands.
|
||||||
You can use <tab> and <tab><tab> for autocompletion.
|
You can use <tab> and <tab><tab> for autocompletion.
|
||||||
You'll be disconnected after $interactiveModeTimeout seconds of inactivity.
|
|
||||||
EOM
|
EOM
|
||||||
|
print "You'll be disconnected after $interactiveModeTimeout seconds of inactivity.\n" if $interactiveModeTimeout;
|
||||||
|
|
||||||
# dynamically get the list of plugins we can use
|
# dynamically get the list of plugins we can use
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue