preserve previous return status, ignoring udevadm

This commit is contained in:
jojopi 2015-05-27 08:23:36 +01:00
parent fc1d1719be
commit 2598353839

View File

@ -190,8 +190,9 @@ do_change_pass() {
do_configure_keyboard() {
dpkg-reconfigure keyboard-configuration &&
printf "Reloading keymap. This may take a short while\n" &&
invoke-rc.d keyboard-setup start &&
invoke-rc.d keyboard-setup start || return $?
udevadm trigger --subsystem-match=input --action=change
return 0
}
do_change_locale() {