Break loop instead of continuing

This commit is contained in:
dalto 2022-09-02 17:03:44 -05:00
parent 6217fe734a
commit 58ec58e6fb
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ while read -r line; do
if [[ $line != */vmlinuz ]]; then
# this means this is something other than a kernel change
all=1
continue
break
fi
version=$(basename "${line%/vmlinuz}")