mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
preserve previous return status, ignoring udevadm
This commit is contained in:
parent
fc1d1719be
commit
2598353839
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user