Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
a55a0b89
Unverified
Commit
a55a0b89
authored
Jun 30, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attach: do not make terminal raw
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
7fee7804
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
attach.c
src/lxc/attach.c
+0
-7
No files found.
src/lxc/attach.c
View file @
a55a0b89
...
@@ -980,7 +980,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
...
@@ -980,7 +980,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
struct
lxc_terminal
*
terminal
)
struct
lxc_terminal
*
terminal
)
{
{
int
ret
;
int
ret
;
struct
termios
oldtios
;
lxc_terminal_init
(
terminal
);
lxc_terminal_init
(
terminal
);
...
@@ -990,12 +989,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
...
@@ -990,12 +989,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
return
-
1
;
return
-
1
;
}
}
ret
=
lxc_setup_tios
(
terminal
->
master
,
&
oldtios
);
if
(
ret
<
0
)
{
SYSERROR
(
"Failed to setup terminal"
);
return
-
1
;
}
/* Shift ttys to container. */
/* Shift ttys to container. */
ret
=
lxc_terminal_map_ids
(
conf
,
terminal
);
ret
=
lxc_terminal_map_ids
(
conf
,
terminal
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
...
...
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