Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
ff05f893
Commit
ff05f893
authored
Jan 26, 2000
by
Niels Möller
Browse files
* src/lsh.c (do_lsh_default_handler): Handle EXC_CHANNEL_OPEN.
Rev: src/lsh.c:1.96
parent
25d060bd
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lsh.c
View file @
ff05f893
...
...
@@ -994,6 +994,12 @@ do_lsh_default_handler(struct exception_handler *s,
case
EXC_SEXP_SYNTAX
:
case
EXC_SPKI_TYPE
:
case
EXC_CHANNEL_REQUEST
:
/* FIXME: There's no handler specifically for CHANNEL_OPEN
* failures for locally forwarded ports. That means that if a
* locally forwarded connection failes, lsh will exit (at some
* later time) with a non-zero exit status. */
case
EXC_CHANNEL_OPEN
:
werror
(
"lsh: %z
\n
"
,
e
->
msg
);
*
self
->
status
=
EXIT_FAILURE
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment