diff --git a/deploy.sh b/deploy.sh index ed44192..3229d2d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -92,9 +92,10 @@ function deploy_driver() { function list-kernels() { if [[ -n "${TARGET_KERNEL}" ]]; then + echo "${TARGET_KERNEL}" + else find /boot -maxdepth 1 -iname "initrd.img*" | cut -d- -f2 - else echo "${TARGET_KERNEL}" fi }