Break loop instead of continuing
This commit is contained in:
parent
6217fe734a
commit
58ec58e6fb
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue