From: Ian Jackson Date: Fri, 6 Aug 2021 17:57:51 +0000 (+0100) Subject: uml: remove redundant stderr redirect X-Git-Tag: hippotat/1.0.0~313 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=1c0c2a66c13f485a451407f42d47a81d99d069f7;p=hippotat.git uml: remove redundant stderr redirect Signed-off-by: Ian Jackson --- diff --git a/psusan-uml-inside b/psusan-uml-inside index a31c95b..90d8924 100755 --- 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