chiark / gitweb /
uml: remove redundant stderr redirect
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 6 Aug 2021 17:57:51 +0000 (18:57 +0100)
committerIan 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

index a31c95bea6c7f4115e0552238a44199e3d1d8657..90d8924d5ba90bd25577024ec1b57f9874140e4a 100755 (executable)
@@ -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