utils: kernel-refresh.sh: Fix sourcing kernel version from config

Off-by-one :(
This commit is contained in:
Tobias Waldekranz
2024-04-04 13:40:53 +02:00
committed by Joachim Wiberg
parent 3c75608839
commit e32334cc4a
+1 -1
View File
@@ -31,7 +31,7 @@ getconfig()
grep "$1=" .config | sed -e "s/$1=\"\([^\"]\+\)\"/\1/"
}
if [ $# -lt 2 ]; then
if [ $# -lt 1 ]; then
usage
exit 1
fi