Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
3c508df2
Commit
3c508df2
authored
Dec 18, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* client.c (do_exit_status): Bugfix: Changed && to &.
Rev: src/client.c:1.43
parent
dcc5f87e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/client.c
src/client.c
+5
-5
No files found.
src/client.c
View file @
3c508df2
...
...
@@ -368,14 +368,14 @@ static int do_exit_status(struct channel_request *c,
{
*
closure
->
exit_status
=
status
;
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_STATUS
,
NULL
);
;
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_SIGNAL
,
NULL
);
;
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_STATUS
,
NULL
);
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_SIGNAL
,
NULL
);
/* Sent EOF, if we haven't done that already. */
/* FIXME: Make this behaviour configurable, there may be some
* child process alive that we could talk to. */
if
(
!
(
channel
->
flags
&
&
CHANNEL_SENT_EOF
))
if
(
!
(
channel
->
flags
&
CHANNEL_SENT_EOF
))
return
channel_eof
(
channel
);
return
LSH_OK
|
LSH_GOON
;
...
...
@@ -422,8 +422,8 @@ static int do_exit_signal(struct channel_request *c,
if
(
core
)
werror
(
"(core dumped remotely)
\n
"
);
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_STATUS
,
NULL
);
;
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_SIGNAL
,
NULL
);
;
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_STATUS
,
NULL
);
ALIST_SET
(
channel
->
request_types
,
ATOM_EXIT_SIGNAL
,
NULL
);
return
close_client_session
(
channel
);
}
...
...
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