shithub: riscv

Download patch

ref: 51b0b0235b32e39b5a71ac440f7ccb679f44c43f
parent: 74f6b4e502fc2a43ec652596c36bb48422081775
author: cinap_lenrek <[email protected]>
date: Sat Jul 14 13:20:49 EDT 2018

bootrc: write fatal error message to fd2

--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -35,7 +35,7 @@
 }
 
 fn fatal {
-	echo $*
+	echo $* >[1=2]
 	exit $"*
 }