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:
parent
6dcefcac2b
commit
8de4fc8d23
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251907
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user