os: Fix HAIKU issues

This commit is contained in:
Dylan Araps 2019-05-06 19:48:37 +03:00
parent de99d9b0e4
commit bbc492aac1
1 changed files with 1 additions and 1 deletions

View File

@ -1190,7 +1190,7 @@ get_kernel() {
[[ "$os" =~ (AIX|IRIX) ]] && return
# Haiku uses 'uname -v' and not - 'uname -r'.
[[ "$os" == HAIKU ]] && {
[[ "$os" == Haiku ]] && {
kernel=$(uname -v)
return
}