Oops, in SVN r251905 I forgot that f_die takes the return code as the first

argument (not the format).
This commit is contained in:
Devin Teske 2013-06-18 08:22:51 +00:00
parent 6dcefcac2b
commit 8de4fc8d23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251907
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -322,7 +322,7 @@ while :; do
f_sysrc_set keymap "$keymap_to_set" || f_die
break
else
f_die "$msg_unknown_keymap"
f_die 1 "$msg_unknown_keymap"
fi
done

View File

@ -132,7 +132,7 @@ if [ "$repeat_rate_to_set" ]; then
f_sysrc_set keyrate "$repeat_rate_to_set" || f_die
break
else
f_die "$msg_unknown_repeat_rate"
f_die 1 "$msg_unknown_repeat_rate"
fi
exit $SUCCESS

View File

@ -183,7 +183,7 @@ if [ "$saver_to_set" ]; then
f_sysrc_set saver "$saver_to_set" || f_die
break
else
f_die "$msg_unknown_saver"
f_die 1 "$msg_unknown_saver"
fi
exit $SUCCESS

View File

@ -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