mirror of
https://github.com/hymkor/lispect.git
synced 2026-08-28 12:56:36 -04:00
examle.lsp: when password is invalid, send Ctrl-C and wait process terminating
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
|
||||
(expect*
|
||||
("Permission denied"
|
||||
(expect "password:")
|
||||
(send #\U3)
|
||||
(wait sshpid)
|
||||
(return-from main nil)
|
||||
)
|
||||
("$ "))
|
||||
|
||||
Reference in New Issue
Block a user