Oops, that didnt work

This commit is contained in:
Ezri Brimhall 2024-03-13 23:34:45 -06:00
parent f401e7af94
commit 68ed6baba7
Signed by: ezri
GPG Key ID: 3DA1675C4E9B9216

View File

@ -34,7 +34,7 @@ precmd_kernel_info() {
if [[ ${OS_ID} == "arch" ]] || [[ ${OS_ID_LIKE} == "arch" ]]; then
# Arch Linux removes the old kernel when updating, so we can
# just check to see if /usr/lib/modules/$(uname -r)/vmlinuz exists
if [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then
if ! [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then
# kernel update available
kernel_info_msg_0_="%F{red} reboot required %f"
fi