From 75c45fc60389b78ecbaf094227be9eb1fd97435d Mon Sep 17 00:00:00 2001 From: Nitin Kr Date: Wed, 10 Oct 2018 16:27:07 +0530 Subject: [PATCH] login state machine for linux based platform --- lib/jnpr/junos/transport/tty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jnpr/junos/transport/tty.py b/lib/jnpr/junos/transport/tty.py index a033440a8..82c8bf607 100644 --- a/lib/jnpr/junos/transport/tty.py +++ b/lib/jnpr/junos/transport/tty.py @@ -51,7 +51,7 @@ class Terminal(object): '(?Password:\s*$)', '(?Pogin incorrect)', '(?P\s*)', - '(?P%|#|/$\s*$)', + '(?P%|#|(~\$)\s*$)', '(?P[^\\-"]>\s*$)', '(?P