]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Exit when we can't print a variable.
authorWarner Losh <imp@FreeBSD.org>
Sat, 25 Feb 2017 00:09:26 +0000 (00:09 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 25 Feb 2017 00:09:26 +0000 (00:09 +0000)
commit35a419a2cbdc36148de9d6211f1e2051cc2138a1
tree90741306288c487199f0a2b8a614f368fd9a63a7
parent589c673b32f7aa1499271a4427a2840d0b000c6a
Exit when we can't print a variable.

Exit after printing a message on stderr when we can't get a
message. This is slightly different than linux, but keeps shell
scripts from thinking the value of the variable is the error message
and so is a net win.

Sponsored by: Netflix
usr.sbin/efivar/efivar.c