mirror of
https://github.com/hymkor/lispect.git
synced 2026-10-27 05:49:57 -04:00
examle.lsp: when password is invalid, send Ctrl-C and wait process terminating
This commit is contained in:
1 parent
41dc2eb1fd
commit
11c7046c50
1 file changed
+3
@@ -30,6 +30,9 @@
|
||||
|
||||
(expect*
|
||||
("Permission denied"
|
||||
(expect "password:")
|
||||
(send #\U3)
|
||||
(wait sshpid)
|
||||
(return-from main nil)
|
||||
)
|
||||
("$ "))
|
||||
|
||||
Reference in new issue
Block a user