diff options
Diffstat (limited to 'main/syslinux/update-extlinux')
-rwxr-xr-x | main/syslinux/update-extlinux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index dafe8bb189..d96713ae30 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -92,7 +92,7 @@ echo "TIMEOUT $rtimeout" >> $conf.new lst=0 if [ -f "/boot/xen.gz" ]; then - for kernel in $(find /boot -name vmlinuz-* -type f); do + for kernel in $(find /boot -name "vmlinuz-*" -type f); do tag=$(basename $kernel | cut -b9-) everbose "Found Xen hypervisor: /boot/xen.gz, kernel: $kernel" @@ -118,7 +118,7 @@ if [ -f "/boot/xen.gz" ]; then done fi -for kernel in $(find /boot -name vmlinuz-* -type f); do +for kernel in $(find /boot -name "vmlinuz-*" -type f); do tag=$(basename $kernel | cut -b9-) everbose "Found kernel: $kernel" |