From 1c0c2a66c13f485a451407f42d47a81d99d069f7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Aug 2021 18:57:51 +0100 Subject: [PATCH] uml: remove redundant stderr redirect Signed-off-by: Ian Jackson --- psusan-uml-inside | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2