summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'update-initramfs')
-rw-r--r--update-initramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-initramfs b/update-initramfs
index 9ab4607..0c7b9e7 100644
--- a/update-initramfs
+++ b/update-initramfs
@@ -114,7 +114,7 @@ get_sorted_versions()
set_current_version()
{
- if [ -f /boot/vmlinu?-`uname -r` ]; then
+ if [ -f /boot/initrd.img-`uname -r` ]; then
version=`uname -r`
fi
}