Skip to content

shell: hide stderr from kver()

classabbyamp requested to merge classabbyamp/mkinitcpio:completion-quiet into master

it messes up the terminal if there are errors:

bash $ mkinitcpio -k 6od: /boot/initramfs-6.1.101_1.img: Permission non accordée
.1.101_1 -
zsh $ mkinitcpio -k …od: /boot/initramfs-6.1.101_1.img: Permission non accordée
/bmkinitcpio -k /boot/vmlinuz-6.1.101_1
/boot/vmlinuz-6.1.101_1  6.1.101_1

Merge request reports