chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dbc0ad
)
uml: remove redundant stderr redirect
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Aug 2021 17:57:51 +0000
(18:57 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 6 Aug 2021 18:04:44 +0000
(19:04 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
psusan-uml-inside
patch
|
blob
|
history
diff --git
a/psusan-uml-inside
b/psusan-uml-inside
index a31c95bea6c7f4115e0552238a44199e3d1d8657..90d8924d5ba90bd25577024ec1b57f9874140e4a 100755
(executable)
--- a/
psusan-uml-inside
+++ b/
psusan-uml-inside
@@
-2,8
+2,8
@@
# Set up vital pseudo-filesystems
mount -t proc none /proc
mount -t devpts none /dev/pts
-# Redirect I/O to the serial port
, but stderr to the console
-exec 0<>/dev/tty1 1>&0
2>/dev/console
+# Redirect I/O to the serial port
(leave stderr to the console)
+exec 0<>/dev/tty1 1>&0
# Set the serial port into raw mode, to run a binary protocol
stty raw -echo
# Choose what shell you want to run inside psusan