Re: bioctl: print errors on stderr

2023-08-18 Thread Klemens Nanni
On Fri, Aug 18, 2023 at 04:20:13PM +, Klemens Nanni wrote: > Messages from the driver always land on standard output, but they may > contain errors, which ought to land on standard error. > > Seen when scripted creation silently failed: > > # bioctl -Cforce -cC -lvnd0a softraid0 1>/dev/

bioctl: print errors on stderr

2023-08-18 Thread Klemens Nanni
Messages from the driver always land on standard output, but they may contain errors, which ought to land on standard error. Seen when scripted creation silently failed: # bioctl -Cforce -cC -lvnd0a softraid0 1>/dev/null ; echo $? 1 # ./obj/bioctl -Cforce -cC -lvnd0a softr