mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-04-21 06:03:42 +00:00
Merge pull request #3 from alexboner/master
fix: obtaining kernel version
This commit is contained in:
commit
0fbe4a4105
1 changed files with 1 additions and 1 deletions
2
init
2
init
|
|
@ -15,7 +15,7 @@ get_running_kernel_version () {
|
|||
# Returns running kernel version
|
||||
|
||||
# Get running kernel version
|
||||
kernel_version=$(LANG=C pacman -Qi linux | sed -n 's/^Version\s*: //p')
|
||||
kernel_version=$(uname -r)
|
||||
|
||||
print "Current kernel version is $kernel_version"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue