summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/console/screenmap
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/screenmap
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/screenmap')
-rwxr-xr-xusr.sbin/bsdconfig/console/screenmap2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/console/screenmap b/usr.sbin/bsdconfig/console/screenmap
index 04db353..94e5ba8 100755
--- a/usr.sbin/bsdconfig/console/screenmap
+++ b/usr.sbin/bsdconfig/console/screenmap
@@ -144,7 +144,7 @@ if [ "$scrnmap_to_set" ]; then
f_sysrc_set scrnmap "$scrnmap_to_set" || f_die
break
else
- f_die "$msg_unknown_screenmap_selection"
+ f_die 1 "$msg_unknown_screenmap_selection"
fi
exit $SUCCESS
OpenPOWER on IntegriCloud