diff --git a/waybar/.config/waybar/reboot_indicator.sh b/waybar/.config/waybar/reboot_indicator.sh index e407969..6b00dc6 100755 --- a/waybar/.config/waybar/reboot_indicator.sh +++ b/waybar/.config/waybar/reboot_indicator.sh @@ -2,7 +2,7 @@ RUNNING_VERSION="$(uname -r | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*')" -INSTALLED_VERSION="$(find /boot -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)" +INSTALLED_VERSION="$(find /boot -maxdepth 0 -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)" #echo $RUNNING_VERSION #echo $INSTALLED_VERSION