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
be786f34
Commit
be786f34
authored
Mar 16, 2001
by
Niels Möller
Browse files
(do_exit_signal): Don't use the signal name from
the packet, only the message. Rev: src/client.c:1.110
parent
88662798
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client.c
View file @
be786f34
...
...
@@ -239,13 +239,15 @@ do_exit_signal(struct channel_request *c,
*
closure
->
exit_status
=
7
;
#if 0
signal = signal_network_to_local(signal);
werror("%ups", length, msg);
werror
(
"Remote process was killed by %z.%z
\n
"
,
signal
?
STRSIGNAL
(
signal
)
:
"an unknown signal"
,
#endif
werror
(
"Remote process was killed by signal: %ups %z
\n
"
,
length
,
msg
,
core
?
"(core dumped remotely)
\n
"
:
""
);
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_STATUS
,
NULL
);
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_SIGNAL
,
NULL
);
...
...
Write
Preview
Supports
Markdown
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