summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/console/font
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-06-18 08:22:51 +0000
committerdteske <dteske@FreeBSD.org>2013-06-18 08:22:51 +0000
commit601ac9fa2e723e751ccd3ad04a9f5fd67ba363f1 (patch)
tree34cff215369429c02d5dbba7de5427eacd394ea4 /usr.sbin/bsdconfig/console/font
parent78fd2f6d07efa80a37bbbbe4760bab787cf85f73 (diff)
downloadFreeBSD-src-601ac9fa2e723e751ccd3ad04a9f5fd67ba363f1.zip
FreeBSD-src-601ac9fa2e723e751ccd3ad04a9f5fd67ba363f1.tar.gz
Oops, in SVN r251905 I forgot that f_die takes the return code as the first
argument (not the format).
Diffstat (limited to 'usr.sbin/bsdconfig/console/font')
-rwxr-xr-xusr.sbin/bsdconfig/console/font2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/console/font b/usr.sbin/bsdconfig/console/font
index 3310f4c..aedd0b4 100755
--- a/usr.sbin/bsdconfig/console/font
+++ b/usr.sbin/bsdconfig/console/font
@@ -172,7 +172,7 @@ case "$mtag" in
f8="swiss-8x8" f14="NO" f16="swiss-8x16" ;;
esac
-[ "$f8" -a "$f14" -a "$f16" ] || f_die "$msg_unknown_font_selection"
+[ "$f8" -a "$f14" -a "$f16" ] || f_die 1 "$msg_unknown_font_selection"
f_sysrc_set font8x8 "$f8" || f_die
f_sysrc_set font8x14 "$f14" || f_die
OpenPOWER on IntegriCloud